New unarchiver release and some improvement in the PKGBUILD

This commit is contained in:
Cedric Girard 2011-05-17 14:41:41 +02:00
parent ae1b99b445
commit 4c8c7eaff0
2 changed files with 7 additions and 54 deletions

View File

@ -1,19 +1,20 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: N30N <archlinux@alunamation.com>
pkgname=unarchiver
pkgver=2.7
pkgver=2.7.1
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=('LGPL')
license=('LGPL2.1')
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
source=(http://theunarchiver.googlecode.com/files/TheUnarchiver"$pkgver"_src.zip)
md5sums=('c6aed2fcb2b68d86a9d9d4fc39c4ea41')
source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip")
sha1sums=('dba7a5aee159435a7ad6d1879443ab66a809c970')
build() {
cd "$srcdir/The Unarchiver/XADMaster"
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make -f Makefile.linux
}
@ -21,7 +22,7 @@ build() {
package() {
cd "$srcdir/The Unarchiver/XADMaster"
install -d "$pkgdir/usr/bin/"
cp unar lsar "$pkgdir/usr/bin/"
install -m755 unar lsar "$pkgdir/usr/bin/"
}
# vim:set ts=2 sw=2 et:

View File

@ -1,48 +0,0 @@
diff -Naur The Unarchiver/UniversalDetector/Makefile.linux The Unarchiver_patched/UniversalDetector/Makefile.linux
--- The Unarchiver/UniversalDetector/Makefile.linux 2010-07-10 16:32:50.000000000 +0200
+++ The Unarchiver_patched/UniversalDetector/Makefile.linux 2011-04-06 14:09:30.416074777 +0200
@@ -16,7 +16,6 @@
GNUSTEP_OPTS = -DGNUSTEP \
-DGNU_RUNTIME=1 \
- -D_NATIVE_OBJC_EXCEPTIONS \
-fgnu-runtime \
-fexceptions \
-fobjc-exceptions \
@@ -27,7 +26,7 @@
-Wno-import \
-Wno-multichar \
-g \
- -isystem /usr/include/GNUstep
+ -isystem /opt/GNUstep/Local/Library/Headers
OBJC_OPTS = -std=gnu99
diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux
--- The Unarchiver/XADMaster/Makefile.linux 2010-10-21 18:30:25.000000000 +0200
+++ The Unarchiver_patched/XADMaster/Makefile.linux 2011-04-06 14:10:32.927998010 +0200
@@ -16,7 +16,6 @@
GNUSTEP_OPTS = -DGNUSTEP \
-DGNU_RUNTIME=1 \
- -D_NATIVE_OBJC_EXCEPTIONS \
-fgnu-runtime \
-fexceptions \
-fobjc-exceptions \
@@ -28,7 +27,7 @@
-Wno-multichar \
-g \
-D_FILE_OFFSET_BITS=64 \
- -isystem /usr/include/GNUstep
+ -isystem /opt/GNUstep/Local/Library/Headers
OBJC_OPTS = -std=gnu99
@@ -45,6 +44,7 @@
# Options for linking
LIBS = -Wl,--no-whole-archive \
+ -L/opt/GNUstep/Local/Library/Libraries \
-lgnustep-base \
-lcrypto \
-lbz2 \