diff options
author | root <root@rshg054.dnsready.net> | 2012-04-02 03:13:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-02 03:13:06 +0000 |
commit | 321f44e3a5da426309c4b6664af035c97f907565 (patch) | |
tree | 3c338a91cb067a0bab491cc803a9c8f3d3ff1172 /libre | |
parent | 8ebbe4e4befac1396a153b356fc9793655dde4ff (diff) |
Mon Apr 2 03:13:05 UTC 2012
Diffstat (limited to 'libre')
-rw-r--r-- | libre/unarchiver/PKGBUILD | 25 | ||||
-rw-r--r-- | libre/unarchiver/libz.patch | 13 | ||||
-rw-r--r-- | libre/unarchiver/native_obj_exceptions.patch | 22 |
3 files changed, 52 insertions, 8 deletions
diff --git a/libre/unarchiver/PKGBUILD b/libre/unarchiver/PKGBUILD index a02607b28..f0a08e8d1 100644 --- a/libre/unarchiver/PKGBUILD +++ b/libre/unarchiver/PKGBUILD @@ -1,28 +1,37 @@ # Maintainer: Cedric Girard <girard.cedric@gmail.com> +# Contributor: N30N <archlinux@alunamation.com> + pkgname=unarchiver -pkgver=2.7.1 -pkgrel=3 +pkgver=3.0 +pkgrel=1 pkgdesc="An Objective-C application for uncompressing archive files" arch=('x86_64' 'i686') url="http://wakaba.c3.cx/s/apps/unarchiver.html" license=('LGPL2.1') -depends=('gnustep-base-libre>=1.23.0' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') -conflicts=('gnustep-base>=1.24') +depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') makedepends=('gcc-objc') -source=(http://theunarchiver.googlecode.com/files/TheUnarchiver"$pkgver"_src.zip) +source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip" + "native_obj_exceptions.patch" + "libz.patch") build() { - cd "$srcdir/The Unarchiver/XADMaster" + cd $srcdir/ + patch -Np1 -i native_obj_exceptions.patch + patch -Np1 -i libz.patch + + cd XADMaster . /usr/share/GNUstep/Makefiles/GNUstep.sh make -f Makefile.linux } package() { - cd "$srcdir/The Unarchiver/XADMaster" + cd "$srcdir/XADMaster" install -d "$pkgdir/usr/bin/" install -m755 unar lsar "$pkgdir/usr/bin/" } # vim:set ts=2 sw=2 et: -md5sums=('498ea1c984d5783322e070a71922b422') +md5sums=('c7c42cd3640bf477b79b21436344f098' + '4fa4ecc6e4ba14d3b6952d064e728511' + '665d01bf93191cc6f57dc80d8c1d3d5a') diff --git a/libre/unarchiver/libz.patch b/libre/unarchiver/libz.patch new file mode 100644 index 000000000..acba51463 --- /dev/null +++ b/libre/unarchiver/libz.patch @@ -0,0 +1,13 @@ +diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux +--- The Unarchiver/XADMaster/Makefile.linux 2011-04-27 03:32:21.000000000 +0200 ++++ The Unarchiver_patched/XADMaster/Makefile.linux 2011-12-22 10:56:13.749166606 +0100 +@@ -51,7 +51,8 @@ + -licuuc \ + -lobjc \ + -lstdc++ \ +- -lm ++ -lm \ ++ -lz + + LDFLAGS = -Wl,--whole-archive \ + -fexceptions \ diff --git a/libre/unarchiver/native_obj_exceptions.patch b/libre/unarchiver/native_obj_exceptions.patch new file mode 100644 index 000000000..9c84918b2 --- /dev/null +++ b/libre/unarchiver/native_obj_exceptions.patch @@ -0,0 +1,22 @@ +diff -Naur The Unarchiver/UniversalDetector/Makefile.linux The Unarchiver_patched/UniversalDetector/Makefile.linux +--- The Unarchiver/UniversalDetector/Makefile.linux 2011-04-27 03:32:21.000000000 +0200 ++++ The Unarchiver_patched/UniversalDetector/Makefile.linux 2011-12-22 10:48:32.138621163 +0100 +@@ -16,7 +16,6 @@ + + GNUSTEP_OPTS = -DGNUSTEP \ + -DGNU_RUNTIME=1 \ +- -D_NATIVE_OBJC_EXCEPTIONS \ + -fgnu-runtime \ + -fexceptions \ + -fobjc-exceptions \ +diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux +--- The Unarchiver/XADMaster/Makefile.linux 2011-04-27 03:32:21.000000000 +0200 ++++ The Unarchiver_patched/XADMaster/Makefile.linux 2011-12-22 10:48:15.488721721 +0100 +@@ -16,7 +16,6 @@ + + GNUSTEP_OPTS = -DGNUSTEP \ + -DGNU_RUNTIME=1 \ +- -D_NATIVE_OBJC_EXCEPTIONS \ + -fgnu-runtime \ + -fexceptions \ + -fobjc-exceptions \ |