diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-31 23:27:48 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-31 23:32:50 +0100 |
commit | ce6a1df5caa2d56cc75ca816bece0049d8c8885c (patch) | |
tree | a81aa80c475da526e4b570b3371d722e5bb4c558 /testing/dash | |
parent | f2367ebad307851f39a41d9392e1a8dde5cbc49f (diff) | |
download | aports-ce6a1df5caa2d56cc75ca816bece0049d8c8885c.tar.bz2 aports-ce6a1df5caa2d56cc75ca816bece0049d8c8885c.tar.xz |
testing/dash: modernize abuild
Diffstat (limited to 'testing/dash')
-rw-r--r-- | testing/dash/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testing/dash/APKBUILD b/testing/dash/APKBUILD index 48fc212ecd..cb9c21021d 100644 --- a/testing/dash/APKBUILD +++ b/testing/dash/APKBUILD @@ -6,33 +6,30 @@ pkgdesc="Small and fast POSIX-compliant shell" url="http://gondor.apana.org.au/~herbert/dash/" arch="all" license="GPLv2+" -depends="" -depends_dev="" # needs 'nl' utility from coreutils -makedepends="$depends_dev coreutils" +makedepends="coreutils" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" subpackages="$pkgname-doc" source="http://gondor.apana.org.au/~herbert/$pkgname/files/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" -builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + + make DESTDIR="$pkgdir" install } -md5sums="6472702a8d9760d166ef8333dcb527a6 dash-0.5.9.1.tar.gz" -sha256sums="5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659 dash-0.5.9.1.tar.gz" sha512sums="d56a043b8fab4693d3f70cceb531c37174e7ded4acd5549e53048d7ce29125ff21d7e758f51a4a73e06250d051e246467039989275838c19a2579edea3f72b7d dash-0.5.9.1.tar.gz" |