2011-04-06 14:27:35 +02:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
2011-05-17 14:41:41 +02:00
|
|
|
# Contributor: N30N <archlinux@alunamation.com>
|
|
|
|
|
2011-04-06 14:27:35 +02:00
|
|
|
pkgname=unarchiver
|
2012-11-26 22:40:17 +01:00
|
|
|
epoch=1
|
|
|
|
pkgver=1.4
|
2012-04-24 11:39:32 +02:00
|
|
|
pkgrel=1
|
2011-04-06 14:27:35 +02:00
|
|
|
pkgdesc="An Objective-C application for uncompressing archive files"
|
|
|
|
arch=('x86_64' 'i686')
|
2012-04-24 11:39:32 +02:00
|
|
|
url="http://unarchiver.c3.cx/"
|
2011-05-17 14:41:41 +02:00
|
|
|
license=('LGPL2.1')
|
2011-04-06 14:27:35 +02:00
|
|
|
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
|
|
|
|
makedepends=('gcc-objc')
|
2012-11-26 22:40:17 +01:00
|
|
|
source=("http://theunarchiver.googlecode.com/files/unar${pkgver}_src.zip"
|
2012-10-23 20:18:41 +02:00
|
|
|
"native_obj_exceptions.patch")
|
2012-11-26 22:40:17 +01:00
|
|
|
sha1sums=('eb028ecbfdd9c0a87d56268b69f87ac5a12d6f0b'
|
2012-10-23 20:18:41 +02:00
|
|
|
'b8024026607dc2de758479b73d8b01ca6f692b59')
|
2011-04-06 14:27:35 +02:00
|
|
|
|
|
|
|
build() {
|
2012-01-04 11:37:07 +01:00
|
|
|
cd "$srcdir/The Unarchiver"
|
|
|
|
|
|
|
|
patch -p1 < ../native_obj_exceptions.patch
|
|
|
|
|
|
|
|
cd XADMaster
|
2011-04-27 16:38:10 +02:00
|
|
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
2011-04-06 14:27:35 +02:00
|
|
|
make -f Makefile.linux
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/The Unarchiver/XADMaster"
|
|
|
|
install -d "$pkgdir/usr/bin/"
|
2011-05-17 14:41:41 +02:00
|
|
|
install -m755 unar lsar "$pkgdir/usr/bin/"
|
2012-04-24 11:39:32 +02:00
|
|
|
|
|
|
|
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
|
2011-04-06 14:27:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|