From b1eb50599e4db7eb4501af75cbbfa22007081ea5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 14 Jun 2018 02:22:19 -0500 Subject: The New Plan all pkgs needed to bootstrap -> system others -> user --- system/sharutils/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 system/sharutils/APKBUILD (limited to 'system/sharutils/APKBUILD') diff --git a/system/sharutils/APKBUILD b/system/sharutils/APKBUILD new file mode 100644 index 000000000..5aa36a130 --- /dev/null +++ b/system/sharutils/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox + +pkgname=sharutils +pkgver=4.15.2 +pkgrel=0 +pkgdesc="Utilities for manipulating shell archives" +url="https://www.gnu.org/software/sharutils/" +arch="all" +license="GPL-3.0+" +depends="bzip2" +makedepends_build="texinfo" +makedepends_host="gettext-dev" +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" -- cgit v1.2.3-70-g09d2