summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-06 20:17:38 +0100
committerBartłomiej Piotrowski2018-01-06 20:17:38 +0100
commita22bf267bbcff5315c4e12c521cdabada2b0d75a (patch)
tree9ad157d332941dd5407bc87ba46b8b2246dc7937
downloadaur-a22bf267bbcff5315c4e12c521cdabada2b0d75a.tar.gz
Import from official repositories
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
-rw-r--r--phoronix-test-suite.install11
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dbd10baced2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = phoronix-test-suite
+ pkgdesc = The most comprehensive testing and benchmarking platform available for Linux
+ pkgver = 7.6.0
+ pkgrel = 1
+ url = http://www.phoronix-test-suite.com/
+ install = phoronix-test-suite.install
+ arch = any
+ license = GPL3
+ depends = php
+ optdepends = php-gtk
+ optdepends = php-gd
+ source = http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-7.6.0.tar.gz
+ sha256sums = c018c27789a696549643335d57fdd3ef9906c17c814f203ca1bef9494fd6e274
+
+pkgname = phoronix-test-suite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..84ea6a095ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 274562 2017-12-16 10:55:46Z arojas $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andreas Schönfelder <passtschu at freenet dot de>
+
+pkgname=phoronix-test-suite
+pkgver=7.6.0
+pkgrel=1
+pkgdesc="The most comprehensive testing and benchmarking platform available for Linux"
+arch=('any')
+license=('GPL3')
+url="http://www.phoronix-test-suite.com/"
+depends=('php')
+optdepends=('php-gtk'
+ 'php-gd')
+install=${pkgname}.install
+source=(http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-$pkgver.tar.gz)
+sha256sums=('c018c27789a696549643335d57fdd3ef9906c17c814f203ca1bef9494fd6e274')
+
+package() {
+ cd "$srcdir"/phoronix-test-suite
+ sed -i "s#--noconfirm#--noconfirm --asdeps#" pts-core/external-test-dependencies/scripts/install-arch-packages.sh
+ install -dm755 "$pkgdir"/usr/share/phoronix-test-suite
+ sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/phoronix-test-suite/g" -i phoronix-test-suite
+ install -Dm755 phoronix-test-suite "$pkgdir"/usr/bin/phoronix-test-suite
+ rm -f "$pkgdir"/usr/share/phoronix-test-suite/pts/etc/scripts/package-build-*
+ cp -r pts-core/ "$pkgdir"/usr/share/phoronix-test-suite/
+}
diff --git a/phoronix-test-suite.install b/phoronix-test-suite.install
new file mode 100644
index 00000000000..2eb526e66a6
--- /dev/null
+++ b/phoronix-test-suite.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo ">>>"
+ echo ">>> To complete the installation you should edit /etc/php/php.ini."
+ echo ">>> - Enable zip.so, sockets.so"
+ echo ">>>"
+ echo ">>> EXAMPLE:"
+ echo ">>> extension=zip.so"
+ echo ">>> extension=sockets.so"
+ echo ">>>"
+ echo ">>> To enable the GUI make sure you install php-gtk from aur"
+}