summaryrefslogtreecommitdiff
path: root/user/sharutils
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 12:11:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 12:11:59 +0000
commitf43747cb11a6b77427cd81b1369c16894a63f11b (patch)
treed48dcadc6369f06685cc0156a66b04c9321757a2 /user/sharutils
parent42d539f437c2f929f7661df500f9463f32f94d65 (diff)
downloadpackages-f43747cb11a6b77427cd81b1369c16894a63f11b.tar.gz
packages-f43747cb11a6b77427cd81b1369c16894a63f11b.tar.bz2
packages-f43747cb11a6b77427cd81b1369c16894a63f11b.tar.xz
packages-f43747cb11a6b77427cd81b1369c16894a63f11b.zip
user/sharutils: new package
Diffstat (limited to 'user/sharutils')
-rw-r--r--user/sharutils/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/sharutils/APKBUILD b/user/sharutils/APKBUILD
new file mode 100644
index 000000000..6aaf2629e
--- /dev/null
+++ b/user/sharutils/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+
+pkgname=sharutils
+pkgver=4.15.2
+pkgrel=0
+pkgdesc="Utilities for manipulating shell archives"
+url="https://www.gnu.org/software/sharutils/"
+arch="all"
+license="GPLv3+"
+depends="bzip2"
+makedepends="gettext-dev texinfo"
+subpackages="$pkgname-lang $pkgname-doc"
+source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/charset.alias
+}
+
+sha512sums="80d0b804a0617e11e5c23dc0d59b218bbf93e40aaf5e9a5401a18ef9cb700390aab711e2b2e2f26c8fd5b8ef99a91d3405e01d02cadabcba7639979314e59f8d sharutils-4.15.2.tar.xz"