From 4c8c7eaff0a6bc6e0c3e889afe5729939752d2c9 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 17 May 2011 14:41:41 +0200 Subject: [PATCH] New unarchiver release and some improvement in the PKGBUILD --- pkgbuild/unarchiver/PKGBUILD | 13 ++--- pkgbuild/unarchiver/unarchiver-makefile.patch | 48 ------------------- 2 files changed, 7 insertions(+), 54 deletions(-) delete mode 100644 pkgbuild/unarchiver/unarchiver-makefile.patch diff --git a/pkgbuild/unarchiver/PKGBUILD b/pkgbuild/unarchiver/PKGBUILD index cfc78b7..cb944cc 100644 --- a/pkgbuild/unarchiver/PKGBUILD +++ b/pkgbuild/unarchiver/PKGBUILD @@ -1,19 +1,20 @@ # Maintainer: Cedric Girard +# Contributor: N30N + 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: diff --git a/pkgbuild/unarchiver/unarchiver-makefile.patch b/pkgbuild/unarchiver/unarchiver-makefile.patch deleted file mode 100644 index 574f73d..0000000 --- a/pkgbuild/unarchiver/unarchiver-makefile.patch +++ /dev/null @@ -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 \