summaryrefslogtreecommitdiff
path: root/libre/unarchiver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/unarchiver/PKGBUILD')
-rw-r--r--libre/unarchiver/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/libre/unarchiver/PKGBUILD b/libre/unarchiver/PKGBUILD
index 9c0cf3978..3e2e316a9 100644
--- a/libre/unarchiver/PKGBUILD
+++ b/libre/unarchiver/PKGBUILD
@@ -2,36 +2,41 @@
# Contributor: N30N <archlinux@alunamation.com>
pkgname=unarchiver
-pkgver=3.0
-pkgrel=1.1
+pkgver=3.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"
+url="http://unarchiver.c3.cx/"
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"
"native_obj_exceptions.patch"
"libz.patch")
+sha1sums=('a8a28e3372a8811689c39871f5de86c64c8c466c'
+ 'b8024026607dc2de758479b73d8b01ca6f692b59'
+ '003d114a0ba9a919af602881ef5e04cdba2e4c50')
build() {
- cd $srcdir/
+ cd "$srcdir/The Unarchiver"
+
+ patch -p1 < ../native_obj_exceptions.patch
+ patch -p1 < ../libz.patch
- 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/XADMaster"
+ cd "$srcdir/The Unarchiver/XADMaster"
install -d "$pkgdir/usr/bin/"
install -m755 unar lsar "$pkgdir/usr/bin/"
+
+ 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
}
# vim:set ts=2 sw=2 et:
-md5sums=('c7c42cd3640bf477b79b21436344f098'
- '4fa4ecc6e4ba14d3b6952d064e728511'
- '665d01bf93191cc6f57dc80d8c1d3d5a')