# Contributor: Dennis Krupenik # Maintainer: Dennis Krupenik pkgname=sysbench pkgver=1.0.20 pkgrel=1 pkgdesc="Scriptable database and system performance benchmark" url="https://github.com/akopytov/sysbench" arch="x86 x86_64 aarch64" # Fails to compile on other arches license="GPL-2.0" depends_dev="libaio-dev mariadb-dev" makedepends="$depends_dev autoconf automake bash libtool python3" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/akopytov/sysbench/archive/$pkgver/sysbench-$pkgver.tar.gz python3-test.patch" prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="510453f26c4304eee74cff82a99356b668478f97eaf942fa3654a27692743b52d39dda526fa8d136568b5ad136157c8658ae5eb2ae4e8593b161dcd49621f24f sysbench-1.0.20.tar.gz 025b93453d1adb0d9d09dc9c7aea6f76e4f4bfa4a4dd42bfef5658f90852ffe504a58149ab3d39794996d3fde45bad9dbc7ecdf77be80fb3b27cbe54e757d50e python3-test.patch"