diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /libre/unar/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/unar/PKGBUILD')
-rw-r--r-- | libre/unar/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libre/unar/PKGBUILD b/libre/unar/PKGBUILD new file mode 100644 index 000000000..e1664e809 --- /dev/null +++ b/libre/unar/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Cedric Girard <girard.cedric@gmail.com> +# Contributor: N30N <archlinux@alunamation.com> + +pkgname=unar +pkgver=1.4 +pkgrel=1 +pkgdesc="An Objective-C application for uncompressing archive files" +arch=('x86_64' 'i686' 'mips64el') +url="http://unarchiver.c3.cx/" +license=('LGPL2.1') +depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') +makedepends=('gcc-objc') +replaces=("unarchiver") +conflicts=("unarchiver") +provides=("unarchiver") +source=("http://theunarchiver.googlecode.com/files/${pkgname}${pkgver}_src.zip" + "native_obj_exceptions.patch") + +build() { + cd "$srcdir/The Unarchiver" + + patch -p1 < ../native_obj_exceptions.patch + + cd XADMaster + . /usr/share/GNUstep/Makefiles/GNUstep.sh + make -f Makefile.linux +} + +package() { + cd "$srcdir/The Unarchiver/XADMaster" + install -d "$pkgdir/usr/bin/" + install -m755 unar lsar "$pkgdir/usr/bin/" + + cd "$srcdir/The Unarchiver/Extra" + install -d "$pkgdir/usr/share/man/man1" + gzip -c lsar.1 > "$pkgdir/usr/share/man/man1"/lsar.1.gz + gzip -c unar.1 > "$pkgdir/usr/share/man/man1"/unar.1.gz +} + +# vim:set ts=2 sw=2 et: +md5sums=('ae5233dd835229f867f0948d28dde0d6' + '4fa4ecc6e4ba14d3b6952d064e728511') |