[arch-commits] Commit in (unp unp/repos unp/trunk unp/trunk/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Fri Jul 25 17:05:00 UTC 2014


    Date: Friday, July 25, 2014 @ 19:05:00
  Author: anatolik
Revision: 116352

unp: add package

Added:
  unp/
  unp/repos/
  unp/trunk/
  unp/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Added: unp/trunk/PKGBUILD
===================================================================
--- unp/trunk/PKGBUILD	                        (rev 0)
+++ unp/trunk/PKGBUILD	2014-07-25 17:05:00 UTC (rev 116352)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Michael Düll <mail at akurei.me> PGP-Key: AAAEE882
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Sergio Rubio <rubiojr.ml at gmail.com>
+# Contributor: Hannes Rist <cowider at gmail.com>
+ 
+pkgname=unp
+pkgver=2.0~pre7+nmu1
+pkgrel=2
+pkgdesc='A script for unpacking a wide variety of archive formats'
+arch=(any)
+url='http://packages.qa.debian.org/u/unp.html'
+license=(GPL)
+depends=(perl)
+optdepends=(
+  'unarj: arj support'
+  'unrar: rar support'
+  'unzip: zip support'
+  'bzip2: bzip2 support'
+  'p7zip: p7zip support'
+  'unace: ace 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)
+sha1sums=('b91f4cbc4720b3aace147652ac2043cf74668244')
+ 
+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
+}


Property changes on: unp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list