-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
31 lines (29 loc) · 1003 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'unar'
pkgname=unar
version=1.10.7
revision=13
archs="~*-musl" # regexec incompatible
build_wrksrc="XADMaster"
build_style=gnu-makefile
make_use_env="yes"
make_cmd="make -f Makefile.linux"
hostmakedepends="gcc-objc"
makedepends="gnustep-base-devel bzip2-devel wavpack-devel"
short_desc="Unarchiver for a variety of file formats"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://theunarchiver.com/command-line"
distfiles="https://github.com/MacPaw/unar/archive/v${version}.tar.gz"
checksum=6ab8f01f7db8bc88e6e8e08a1d79fb7ef8e9fb1d940c748d0a329a2d6d331016
make_check=no # Doesn't have any tests.
nocross="objc doesn't get cross build at present within gcc (as seen in gnustep)"
post_extract() {
vsed -i -e '/-D_NATIVE_OBJC_EXCEPTIONS/d' ${wrksrc}/*/Makefile.linux
}
do_install() {
for x in unar lsar; do
vbin "${x}"
vman "Extra/${x}.1"
vinstall "Extra/${x}.bash_completion" 644 usr/share/bash-completion/completions "${x}"
done
}