Date: Sunday, March 14, 2021 @ 17:29:43
  Author: anatolik
Revision: 891268

archrelease: copy trunk to community-testing-any

Added:
  unp/repos/community-testing-any/
  unp/repos/community-testing-any/PKGBUILD
    (from rev 891267, unp/trunk/PKGBUILD)

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

Copied: unp/repos/community-testing-any/PKGBUILD (from rev 891267, 
unp/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2021-03-14 17:29:43 UTC (rev 891268)
@@ -0,0 +1,44 @@
+# Maintainer: Anatol Pomozov <[email protected]>
+# Contributor: Michael Düll <[email protected]> PGP-Key: AAAEE882
+# Contributor: TDY <[email protected]>
+# Contributor: Sergio Rubio <[email protected]>
+# Contributor: Hannes Rist <[email protected]>
+ 
+pkgname=unp
+pkgver=2.0~pre9
+pkgrel=1
+pkgdesc='A script for unpacking a wide variety of archive formats'
+arch=(any)
+url='https://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.xz)
+sha1sums=('5a07da0d7c5ebe51d67707d1d51684a7e97770f6')
+ 
+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 debian/unp.bash-completion 
"$pkgdir"/usr/share/bash-completion/completions/unp
+
+  cd po
+  make DESTDIR="$pkgdir" install
+}

Reply via email to