[arch-commits] Commit in sysbench/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jan 16 15:00:33 UTC 2019
Date: Wednesday, January 16, 2019 @ 15:00:33
Author: felixonmars
Revision: 423548
archrelease: copy trunk to community-staging-x86_64
Added:
sysbench/repos/community-staging-x86_64/
sysbench/repos/community-staging-x86_64/PKGBUILD
(from rev 423547, sysbench/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: sysbench/repos/community-staging-x86_64/PKGBUILD (from rev 423547, sysbench/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-16 15:00:33 UTC (rev 423548)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=sysbench
+pkgver=1.0.16
+pkgrel=2
+pkgdesc='Scriptable multi-threaded benchmark tool for databases and systems'
+url='https://github.com/akopytov/sysbench'
+arch=('x86_64')
+license=('GPL2')
+depends=('luajit' 'mariadb-libs' 'postgresql-libs')
+makedepends=('libxslt')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('f86db33dcb46c9a6f696418de6463a597c6635dc66aecb2e2e53948c299dd7d1d4dfcb7c37d78cd024113ae5484dfaf48ff1cc0a4aefbc586976a665b2df1ca6')
+
+build() {
+ cd $pkgname-$pkgver
+
+ autoreconf -vi
+
+ ./configure \
+ --prefix=/usr \
+ --with-pgsql \
+ --with-mysql \
+ --with-system-luajit
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
+
More information about the arch-commits
mailing list