[arch-commits] Commit in sysbench/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Mon Oct 22 20:21:53 UTC 2018
Date: Monday, October 22, 2018 @ 20:21:52
Author: ffy00
Revision: 398509
upgpkg: sysbench 1.0.15-1
Added:
sysbench/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-22 20:21:52 UTC (rev 398509)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=sysbench
+pkgver=1.0.15
+pkgrel=1
+pkgdesc='Scriptable multi-threaded benchmark tool for databases and systems'
+url='https://github.com/akopytov/sysbench'
+arch=('x86_64')
+license=('GPL2')
+depends=('lua' 'libmariadbclient''postgresql-libs')
+makedepends=('libxslt')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('ff68ad15c037006a2a49e3d59062611062336860205816ca6d9cdd20832fc55b631960411caa718dff881e926196046a7317b33e803061868e524a819569d3a2')
+
+build() {
+ cd $pkgname-$pkgver
+
+ autoreconf -vi
+
+ ./configure \
+ --prefix=/usr \
+ --with-pgsql \
+ --with-mysql
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
+
More information about the arch-commits
mailing list