summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2018-06-06 23:58:33 +0200
committerFabioLolix2018-06-06 23:58:33 +0200
commit655873428227e4a5122001c8e0bd376e69c95254 (patch)
tree003df4421d9f83554a1e85ef029c17113a2915fd
parent77c6ddebd0212c1f52636a856dfa663abc8e02f2 (diff)
downloadaur-655873428227e4a5122001c8e0bd376e69c95254.tar.gz
v8.0.0
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 29 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a51da17c03..7b36c9dacf7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,23 @@
pkgbase = phoronix-test-suite
pkgdesc = The most comprehensive testing and benchmarking platform available for Linux
- pkgver = 7.8.0
+ pkgver = 8.0.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.8.0.tar.gz
- sha256sums = cd6c869841f28e4ac1e8a5e4cda05fafce9a523a6b4f0f3a47805efd30494d88
+ optdepends = sqlite3: required when running a Phoromatic server.
+ optdepends = gcc-fortran: required for universe-cli test suite
+ optdepends = blas: required for universe-cli test suite
+ optdepends = lapack: required for universe-cli test suite
+ optdepends = portaudio: required for universe-cli test suite
+ optdepends = unzip: required for universe-cli test suite
+ optdepends = mesa-demos: required for universe-cli test suite
+ optdepends = openmpi: required for universe-cli test suite
+ source = phoronix-test-suite-8.0.0.tar.gz::https://github.com/phoronix-test-suite/phoronix-test-suite/archive/v8.0.0.tar.gz
+ sha256sums = 1a2352f3dfe37c1201553431bc41a5d8f0839712fe2c6dfc84aa31837ce0656a
pkgname = phoronix-test-suite
diff --git a/PKGBUILD b/PKGBUILD
index 949e68552ce..08898deb195 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,25 +4,32 @@
# Contributor: Andreas Schönfelder <passtschu at freenet dot de>
pkgname=phoronix-test-suite
-pkgver=7.8.0
+pkgver=8.0.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')
+optdepends=('php-gd'
+ 'sqlite3: required when running a Phoromatic server.'
+ 'gcc-fortran: required for universe-cli test suite'
+ 'blas: required for universe-cli test suite'
+ 'lapack: required for universe-cli test suite'
+ 'portaudio: required for universe-cli test suite'
+ 'unzip: required for universe-cli test suite'
+ 'mesa-demos: required for universe-cli test suite'
+ 'openmpi: required for universe-cli test suite')
install=${pkgname}.install
-source=(http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-$pkgver.tar.gz)
-sha256sums=('cd6c869841f28e4ac1e8a5e4cda05fafce9a523a6b4f0f3a47805efd30494d88')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/phoronix-test-suite/phoronix-test-suite/archive/v${pkgver}.tar.gz")
+sha256sums=('1a2352f3dfe37c1201553431bc41a5d8f0839712fe2c6dfc84aa31837ce0656a')
package() {
- cd "$srcdir"/phoronix-test-suite
+ cd "$srcdir/$pkgname-$pkgver"
+ ./install-sh $pkgdir/usr
+
+ rm -r "${pkgdir}"/usr/share/phoronix-test-suite/deploy
+
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/
+ sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/phoronix-test-suite/g" -i ${pkgdir}/usr/bin/phoronix-test-suite
}