summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2018-08-17 22:31:58 +0200
committerFabioLolix2018-08-17 22:31:58 +0200
commitb1014ce7447da56a8482862c626d92c57d1021f3 (patch)
treefe43bcec0e7eac4e3db7b1b794e8fa9df5436c8f
parent73f85da9cdd82609f322b206334594cf33e7ce28 (diff)
downloadaur-b1014ce7447da56a8482862c626d92c57d1021f3.tar.gz
improved package()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 16 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1dee6a7b6ab..7198132c35f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = phoronix-test-suite
pkgdesc = The most comprehensive testing and benchmarking platform available for Linux
pkgver = 8.0.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.phoronix-test-suite.com/
install = phoronix-test-suite.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4ec71378c91..f779895165b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# $Id: PKGBUILD 274562 2017-12-16 10:55:46Z arojas $
# Maintainer: aimileus <me at aimileus dot nl>
+# Maintainer: Fabio 'Lolix' Loli <lolix at disroot.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Schönfelder <passtschu at freenet dot de>
pkgname=phoronix-test-suite
pkgver=8.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="The most comprehensive testing and benchmarking platform available for Linux"
arch=('any')
license=('GPL3')
@@ -29,6 +30,19 @@ package() {
./install-sh $pkgdir/usr
rm -r "${pkgdir}"/usr/share/phoronix-test-suite/deploy
+ rm -rf "${pkgdir}"/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/{dependency-handlers,scripts,xml}/{*.php,*.sh,*.xml}
+
+ install -D "${srcdir}/phoronix-test-suite-${pkgver}"/pts-core/external-test-dependencies/dependency-handlers/arch_dependency_handler.php \
+ "${pkgdir}"/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/dependency-handlers/arch_dependency_handler.php
+
+ install -D "${srcdir}/phoronix-test-suite-${pkgver}"/pts-core/external-test-dependencies/scripts/install-arch-packages.sh \
+ "${pkgdir}"/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-arch-packages.sh
+
+ install -D "${srcdir}/phoronix-test-suite-${pkgver}"/pts-core/external-test-dependencies/xml/arch-packages.xml \
+ "${pkgdir}"/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/xml/arch-packages.xml
+
+ install -D "${srcdir}/phoronix-test-suite-${pkgver}"/pts-core/external-test-dependencies/xml/generic-packages.xml \
+ "${pkgdir}"/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/xml/generic-packages.xml
sed -i "s#--noconfirm#--noconfirm --asdeps#" ${pkgdir}/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-arch-packages.sh
sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/phoronix-test-suite/g" -i ${pkgdir}/usr/bin/phoronix-test-suite