community/fio to 2.6-1

This commit is contained in:
Kevin Mihelich 2016-03-03 18:09:44 +00:00
parent fbfb3aa0a6
commit 7d32d05606

View file

@ -7,7 +7,7 @@
# - removed numactl dependency
pkgname=fio
pkgver=2.2.13
pkgver=2.6
pkgrel=1
pkgdesc='Scriptable I/O tool for storage benchmarks and drive testing'
arch=(i686 x86_64)
@ -20,13 +20,16 @@ optdepends=(
'gtk2: for gfio - fio GUI frontend'
'gnuplot: generating plots using fio_generate_plots'
)
source=(https://github.com/axboe/fio/archive/fio-$pkgver.zip)
sha256sums=('d16a12639656aec1e7ef5c3e11b0069c65088c8ed1f03964c271e583bbc17c92')
source=(https://github.com/axboe/fio/archive/fio-$pkgver.zip
types.patch::https://github.com/axboe/fio/commit/d7bb6180f831091c468e5aa749b142efd5eddda4.patch)
sha256sums=('54aafbc715d6e977136795190a5b09d07761153a859cfb17f3f161f1f1ae5ed7'
'7a28010acafdf8a3fd4b39ffd49ce935cc16fc89bfd4beb448ea9588cdb60031')
prepare() {
cd fio-fio-$pkgver
sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i tools/plot/fio2gnuplot
patch -p1 < ../types.patch
sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i tools/plot/fio2gnuplot
}
build() {