summaryrefslogtreecommitdiff
path: root/libre/unp/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
commitfcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch)
tree60bf5147d7608e6217b37e6807c386b3a43a2b36 /libre/unp/PKGBUILD
parent19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff)
parentb0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff)
downloadabslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/unp/PKGBUILD')
-rw-r--r--libre/unp/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/libre/unp/PKGBUILD b/libre/unp/PKGBUILD
new file mode 100644
index 000000000..fe4b53c47
--- /dev/null
+++ b/libre/unp/PKGBUILD
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 116352 2014-07-25 17:05:00Z anatolik $
+# Maintainer (Arch): Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor (Arch): Michael Düll <mail@akurei.me> PGP-Key: AAAEE882
+# Contributor (Arch): TDY <tdy@gmx.com>
+# Contributor (Arch): Sergio Rubio <rubiojr.ml@gmail.com>
+# Contributor (Arch): Hannes Rist <cowider@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=unp
+pkgver=2.0~pre7+nmu1
+pkgrel=2.parabola1
+pkgdesc='A script for unpacking a wide variety of archive formats, without nonfree unace, unarj and unrar recommendation'
+arch=(any)
+url='http://packages.qa.debian.org/u/unp.html'
+license=(GPL)
+depends=(perl)
+optdepends=(
+ 'unzip: zip support'
+ 'bzip2: bzip2 support'
+ 'p7zip: p7zip support'
+ 'cpio: cpio support'
+ 'sharutils: sharutils'
+ 'cabextract: cab support'
+ 'rpmextract: rpm support'
+)
+source=(http://ftp.debian.org/debian/pool/main/u/unp/unp_$pkgver.tar.bz2
+ libre.patch)
+sha1sums=('b91f4cbc4720b3aace147652ac2043cf74668244'
+ '202375dd1c013c798d0d61ab5c273be8ebe1c546')
+
+prepare() {
+ cd unp-$pkgver
+ patch -Np1 -i "$srcdir"/libre.patch
+}
+
+build() {
+ cd unp-$pkgver/po
+ make
+}
+
+package() {
+ cd unp-$pkgver
+ install -Dm755 unp "$pkgdir"/usr/bin/unp
+ install -Dm755 ucat "$pkgdir"/usr/bin/ucat
+ install -Dm644 debian/unp.1 "$pkgdir"/usr/share/man/man1/unp.1
+ install -Dm755 bash_completion.d/unp "$pkgdir"/etc/bash_completion.d/unp.sh
+
+ cd po
+ make DESTDIR="$pkgdir" install
+}