2019-05-01 17:14:51 +00:00
|
|
|
# Template file for 'unar'
|
2019-04-27 17:51:49 +00:00
|
|
|
pkgname=unar
|
2019-05-01 17:14:51 +00:00
|
|
|
version=1.10.5
|
2019-07-30 12:14:09 +00:00
|
|
|
revision=3
|
2019-04-27 17:51:49 +00:00
|
|
|
archs="~*-musl" # regexec incompatible
|
|
|
|
build_wrksrc="XADMaster"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_use_env="yes"
|
|
|
|
make_cmd="make -f Makefile.linux"
|
|
|
|
hostmakedepends="gcc-objc"
|
2019-05-01 17:14:51 +00:00
|
|
|
makedepends="gnustep-base-devel bzip2-devel wavpack-devel"
|
2019-04-27 17:51:49 +00:00
|
|
|
short_desc="Unarchiver for a variety of file formats"
|
|
|
|
maintainer="Robert Lowry <bobertlo@gmail.com>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://theunarchiver.com/command-line"
|
2019-05-01 17:14:51 +00:00
|
|
|
distfiles="https://github.com/MacPaw/unar/archive/v${version}.tar.gz"
|
|
|
|
checksum=3531fc266e3413aa91adf40d3754360adeb162d85f5af0cb9f0ea1a3d998222f
|
2019-04-27 17:51:49 +00:00
|
|
|
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"
|
2019-05-01 17:14:51 +00:00
|
|
|
vman "Extra/${x}.1"
|
2019-05-10 05:13:49 +00:00
|
|
|
vinstall "Extra/${x}.bash_completion" 644 usr/share/bash-completion/completions "$x"
|
2019-04-27 17:51:49 +00:00
|
|
|
done
|
|
|
|
}
|