# Contributor: William Pitcock # Maintainer: Henrik Riomar pkgname=ioping pkgver=1.0 pkgrel=1 pkgdesc="A simple disk i/o latency measurement tool" url="https://github.com/koct9i/ioping" arch="all !s390x" license="GPL3+" depends="" depends_dev="" makedepends="$depends_dev linux-headers" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz" _builddir="$srcdir"/$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 } build() { cd "$_builddir" make || return 1 } check() { cd "$_builddir" make test || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1 } sha512sums="a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 ioping-1.0.tar.gz"