aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-04-05 19:47:28 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-04-05 19:47:50 +0300
commit92a3fd76cf9c9c324ce2cbb88bd6ba3c5b203266 (patch)
tree67eeca4a08bf78d160caf5edd8b1aa411db97caf
parent9eac7dce78ffb977c4ef9f48dd9e98ea14d69d62 (diff)
downloadaports-92a3fd76cf9c9c324ce2cbb88bd6ba3c5b203266.tar.bz2
aports-92a3fd76cf9c9c324ce2cbb88bd6ba3c5b203266.tar.xz
testing/dstat: fix aport
-rw-r--r--testing/dstat/APKBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/testing/dstat/APKBUILD b/testing/dstat/APKBUILD
index a44f9c8b7b..8aa5a0bd9b 100644
--- a/testing/dstat/APKBUILD
+++ b/testing/dstat/APKBUILD
@@ -12,28 +12,21 @@ depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
-source="https://github.com/dagwieers/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgname-$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="${pkgname}-${pkgver}.tar.gz::https://github.com/dagwieers/${pkgname}/archive/${pkgver}.tar.gz"
+
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
return 0
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR=$pkgdir install || return 1
}
-md5sums="a8f8243b60aeebb2f8ebfd97526b4f30 dstat-0.7.3.tar.gz"
-sha256sums="d87f5e2ebe76dff919f3e3e6f139940d2b2da75a38ee823b640e51d1964afa61 dstat-0.7.3.tar.gz"
-sha512sums="a428299d5cfa1afad6daa5fde2bdbd4ec0d23d6ae1eea2145b794cab4604f2e2327d36a4abdcb00145d4cc96f2a8dd349680109af0c834f67d4ce92f7285ab4e dstat-0.7.3.tar.gz"
+
+md5sums="be27c905e6737993306dbbcee735e8ad dstat-0.7.3.tar.gz"
+sha256sums="46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898 dstat-0.7.3.tar.gz"
+sha512sums="db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2 dstat-0.7.3.tar.gz"