unarchiver PKGBUILD updated to 1.6

This commit is contained in:
Cedric Girard 2013-05-14 13:40:36 +02:00
parent dd304d5ba2
commit 0497b76375

View file

@ -3,9 +3,9 @@
pkgname=unarchiver pkgname=unarchiver
epoch=1 epoch=1
pkgver=1.5 pkgver=1.6
pkgrel=1 pkgrel=1
pkgdesc="An Objective-C application for uncompressing archive files" pkgdesc="unar and lsar: Objective-C tools for uncompressing archive files"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url="http://unarchiver.c3.cx/" url="http://unarchiver.c3.cx/"
license=('LGPL2.1') license=('LGPL2.1')
@ -13,15 +13,19 @@ depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc') makedepends=('gcc-objc')
source=("http://theunarchiver.googlecode.com/files/unar${pkgver}_src.zip" source=("http://theunarchiver.googlecode.com/files/unar${pkgver}_src.zip"
"native_obj_exceptions.patch") "native_obj_exceptions.patch")
sha1sums=('972a37909ab7fde53e1561dfe0fb6a729d9d59dc' sha1sums=('1cee2ea4bd89feff4f84754858b21f3757404d7c'
'b8024026607dc2de758479b73d8b01ca6f692b59') 'b8024026607dc2de758479b73d8b01ca6f692b59')
build() { prepare(){
cd "$srcdir/The Unarchiver" cd "$srcdir/The Unarchiver"
patch -p1 < ../native_obj_exceptions.patch patch -p1 < ../native_obj_exceptions.patch
cd XADMaster }
build() {
cd "$srcdir/The Unarchiver/XADMaster"
. /usr/share/GNUstep/Makefiles/GNUstep.sh . /usr/share/GNUstep/Makefiles/GNUstep.sh
make -f Makefile.linux make -f Makefile.linux
} }
@ -35,6 +39,9 @@ package() {
install -d "$pkgdir/usr/share/man/man1" install -d "$pkgdir/usr/share/man/man1"
gzip -c lsar.1 > "$pkgdir/usr/share/man/man1"/lsar.1.gz gzip -c lsar.1 > "$pkgdir/usr/share/man/man1"/lsar.1.gz
gzip -c unar.1 > "$pkgdir/usr/share/man/man1"/unar.1.gz gzip -c unar.1 > "$pkgdir/usr/share/man/man1"/unar.1.gz
install -d "$pkgdir/usr/share/bash-completion/completions/"
install -m644 unar.bash_completion "$pkgdir/usr/share/bash-completion/completions/unar"
install -m644 lsar.bash_completion "$pkgdir/usr/share/bash-completion/completions/lsar"
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: