[arch-commits] Commit in unp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:13:11 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:13:10
Author: felixonmars
Revision: 659168
archrelease: copy trunk to community-staging-any
Added:
unp/repos/community-staging-any/
unp/repos/community-staging-any/PKGBUILD
(from rev 659167, unp/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: unp/repos/community-staging-any/PKGBUILD (from rev 659167, unp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:13:10 UTC (rev 659168)
@@ -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~pre7+nmu1
+pkgrel=4
+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.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"/usr/share/bash-completion/completions/unp
+
+ cd po
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list