2013-01-10 07:14:20 +00:00
|
|
|
# Maintainer: Marti Raudsepp <marti@juffo.org>
|
|
|
|
|
|
|
|
pkgname=flashbench-git
|
2013-04-08 18:06:09 +00:00
|
|
|
pkgver=62.2e30b19
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
echo $(git rev-list --count master).$(git rev-parse --short master)
|
|
|
|
}
|
|
|
|
epoch=1
|
2013-01-10 07:14:20 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Tool for benchmarking and classifying flash memory drives"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
license=('unknown')
|
|
|
|
url="https://lwn.net/SubscriberLink/428584/354d16fe00c90072/"
|
2013-03-27 12:38:03 +00:00
|
|
|
makedepends=('git')
|
2013-01-10 07:14:20 +00:00
|
|
|
replaces=('flashbench')
|
|
|
|
provides=('flashbench')
|
|
|
|
conflicts=('flashbench')
|
2013-04-08 18:06:09 +00:00
|
|
|
source=("$pkgname::git://git.linaro.org/people/arnd/flashbench.git")
|
|
|
|
md5sums=('SKIP')
|
2013-01-10 07:14:20 +00:00
|
|
|
|
|
|
|
build() {
|
2013-04-08 18:06:09 +00:00
|
|
|
make -C "$srcdir/$pkgname"
|
|
|
|
}
|
|
|
|
package(){
|
|
|
|
install -Dm755 "$srcdir/$pkgname/flashbench" "$pkgdir/usr/bin/flashbench"
|
|
|
|
install -Dm755 "$srcdir/$pkgname/erase" "$pkgdir/usr/bin/flashbench"
|
2013-01-10 07:14:20 +00:00
|
|
|
}
|