summaryrefslogtreecommitdiff
path: root/community/pbzip2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pbzip2/PKGBUILD')
-rw-r--r--community/pbzip2/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/pbzip2/PKGBUILD b/community/pbzip2/PKGBUILD
new file mode 100644
index 000000000..970938dd2
--- /dev/null
+++ b/community/pbzip2/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 43691 2011-03-29 08:17:25Z foutrelis $
+# Contributor: Vasco Costa <vasco dot costa at geekslot dot com>
+# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+
+pkgname=pbzip2
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="Parallel implementation of the bzip2 block-sorting file compressor"
+arch=(i686 x86_64)
+url="http://compression.ca/pbzip2/"
+license=('BSD')
+depends=('bzip2' 'gcc-libs')
+source=(http://compression.ca/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('beb27a8055723f5f84364182d137ed1a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make
+ make PREFIX="$pkgdir/usr" install
+
+ # Fix location of man pages
+ install -d "$pkgdir/usr/share"
+ mv "$pkgdir/usr/man" "$pkgdir/usr/share"
+
+ # Symlinks for useful shortcuts
+ ln -sf pbzip2 "$pkgdir/usr/bin/pbunzip2"
+ ln -sf pbzip2 "$pkgdir/usr/bin/pbzcat"
+
+ # License
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et: