[arch-commits] Commit in unp/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Sun Mar 14 17:29:44 UTC 2021


    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 <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~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
+}



More information about the arch-commits mailing list