aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-02-25 22:46:01 +0100
committerWilliam Pitcock <nenolod@dereferenced.org>2017-02-27 19:16:15 +0000
commit416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a (patch)
tree36aac4fe552758bbdd7f8f068c83afa0146720da
parentda8fdc46be4a3e48a559102b6ff9f2cc78d4a37c (diff)
downloadaports-416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a.tar.bz2
aports-416ce18b69cd95d7b8cd86c1a2e0059e7fe5193a.tar.xz
unmaintained/ioping: upgrade to 1.0, take maintainership
-rw-r--r--community/ioping/APKBUILD (renamed from unmaintained/ioping/APKBUILD)19
1 files changed, 11 insertions, 8 deletions
diff --git a/unmaintained/ioping/APKBUILD b/community/ioping/APKBUILD
index 12b6df70be..c2b659befe 100644
--- a/unmaintained/ioping/APKBUILD
+++ b/community/ioping/APKBUILD
@@ -1,18 +1,18 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=ioping
-pkgver=0.7
+pkgver=1.0
pkgrel=1
pkgdesc="A simple disk i/o latency measurement tool"
-url="http://code.google.com/p/ioping"
+url="https://github.com/koct9i/ioping"
arch="all"
license="GPL3+"
depends=""
depends_dev=""
-makedepends="$depends_dev"
+makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-doc"
-source="http://ioping.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -30,11 +30,14 @@ build() {
make || return 1
}
+check() {
+ cd "$_builddir"
+ make test || return 1
+}
+
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1
}
-md5sums="5fea9fb35c38902e0c1fcb7ffe203931 ioping-0.7.tar.gz"
-sha256sums="234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0 ioping-0.7.tar.gz"
-sha512sums="0f7140e6cac1d87f54c2b20323ec691cf0e54f246497e38cb03b1161943f4f872536f26fc6a30f304a375c192af7dfce67f03083f93a78c33c1cd0cd40787e74 ioping-0.7.tar.gz"
+sha512sums="a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 ioping-1.0.tar.gz"