[Why] hackbench-git is an old version required by the customer.
Signed-off-by: Zhang Yale ylzhangah@qq.com --- pkg/hackbench-git/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkg/hackbench-git/PKGBUILD
diff --git a/pkg/hackbench-git/PKGBUILD b/pkg/hackbench-git/PKGBUILD new file mode 100644 index 00000000..78660a3d --- /dev/null +++ b/pkg/hackbench-git/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=hackbench-git +pkgver=git +pkgrel=1 +arch=('i386' 'x86_64') +url="https://github.com/lacombar/hackbench.git" +license=('GPL') +source=("https://github.com/lacombar/hackbench.git") +sha256sums=('SKIP') + +build() +{ + cd "${srcdir}/hackbench/hackbench" || exit + gcc -o hackbench hackbench.c -lpthread +} + +package() +{ + mkdir -p "${pkgdir}/lkp/benchmarks/${pkgname}" + cp -rf "${srcdir}/hackbench/hackbench" "${pkgdir}/lkp/benchmarks/${pkgname}" +}