aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-06-08 12:34:42 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-06-08 12:47:08 +0200
commit68ec1ef4e1a065a84b30c98516abf55729deff81 (patch)
tree47d73b15806254c2d64bc8810d260ea9bbb7410c /testing
parenta4bee07447a28af7740fb62be4a8a477d3dd86ca (diff)
downloadaports-68ec1ef4e1a065a84b30c98516abf55729deff81.tar.bz2
aports-68ec1ef4e1a065a84b30c98516abf55729deff81.tar.xz
testing/dash: upgrade to 0.5.9
Diffstat (limited to 'testing')
-rw-r--r--testing/dash/APKBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/testing/dash/APKBUILD b/testing/dash/APKBUILD
index ba039951a5..3f2fcc3272 100644
--- a/testing/dash/APKBUILD
+++ b/testing/dash/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dash
-pkgver=0.5.7
-pkgrel=1
+pkgver=0.5.9
+pkgrel=0
pkgdesc="Small and fast POSIX-compliant shell"
url="http://gondor.apana.org.au/~herbert/dash/"
arch="all"
@@ -12,34 +12,27 @@ depends_dev=""
makedepends="$depends_dev coreutils"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
-source="http://gondor.apana.org.au/~herbert/dash/files/dash-$pkgver.tar.gz"
-
-_builddir="$srcdir"/dash-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="http://gondor.apana.org.au/~herbert/$pkgname/files/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --bindir=/bin \
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="f6cedb10ae7258adb5ab17a10ae80d51 dash-0.5.7.tar.gz"
+md5sums="57341c24c3ebd3d5fc3a863001c94be6 dash-0.5.9.tar.gz"
+sha256sums="92793b14c017d79297001556389442aeb9e3c1cc559fd178c979169b1a47629c dash-0.5.9.tar.gz"
+sha512sums="91d4cc69dae8bc73f8da4f771d993f91b041f19637a6dfec9b9acfd8c97d2d819fb445f9ba608f0e7e5df431a934be3b29a93dde7cc3d6400d06e7d7b40dc15f dash-0.5.9.tar.gz"