Skip to content

Instantly share code, notes, and snippets.

@harvimt
Created April 2, 2012 03:20
Show Gist options
  • Save harvimt/2280294 to your computer and use it in GitHub Desktop.
Save harvimt/2280294 to your computer and use it in GitHub Desktop.
PKGBUILD for unarchiver
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: N30N <archlinux@alunamation.com>
pkgname=unarchiver
pkgver=3.1.0
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=('LGPL2.1')
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
source=("http://theunarchiver.googlecode.com/files/unar1.0_src.zip"
"native_obj_exceptions.patch"
"libz.patch")
sha1sums=('4ed526288b473499b4f02a604a2d8426cafb9a53'
'b8024026607dc2de758479b73d8b01ca6f692b59'
'003d114a0ba9a919af602881ef5e04cdba2e4c50')
build() {
cd "$srcdir"
patch -p1 < ../native_obj_exceptions.patch
patch -p1 < ../libz.patch
cd XADMaster
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make -f Makefile.linux
}
package() {
cd "$srcdir/The Unarchiver/XADMaster"
install -d "$pkgdir/usr/bin/"
install -m755 unar lsar "$pkgdir/usr/bin/"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment