summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrandtheftjiujitsu2015-06-25 14:57:24 -0400
committergrandtheftjiujitsu2015-06-25 14:57:24 -0400
commit56fe6d4667f9971e500e010d0b363e12c2446d2f (patch)
tree5d57adb3861b7d9e9fb8a7e87b2643905585397d
parent88520790584a0dd1ef54f5a572142b0e8e87df21 (diff)
downloadaur-56fe6d4667f9971e500e010d0b363e12c2446d2f.tar.gz
.install and PKGBUILD corrections
-rw-r--r--PKGBUILD21
-rw-r--r--phoronix-test-suite-git.install8
2 files changed, 16 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index abbade98859..3902066749a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Austin Haedicke <austin.haedicke@gmail.com>
+# Maintainer: Austin Haedicke <ausitn.haedicke@gmail.com>
# <gtbjj on #archlinux irc>
_pkgname=phoronix-test-suite
@@ -9,19 +9,22 @@ pkgdesc="The most comprehensive testing and benchmarking platform available for
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.phoronix-test-suite.com/"
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'python' 'ruby')
+depends=('ruby' 'python')
makedepends=('git')
-optdepends=('php' 'php-gtk' 'php-curl' 'php-gd')
-source=("https://github.com/phoronix-test-suite/phoronix-test-suite.git")
+optdepends=('php')
+install=$pkgname.install
+source=("git://github.com/phoronix-test-suite/phoronix-test-suite.git")
md5sums=('SKIP')
+
pkgver() {
- cd $_pkgname
- git describe --always | sed -e 's|-|.|g'
+ cd $_pkgname
+ git describe --always | sed -e 's|-|.|g'
}
package() {
- cd $srcdir/$_pkgname
- mkdir -p $pkgdir/usr/bin
- ./install-sh ${pkgdir}/usr
+ cd ${srcdir}/$_pkgname
+ mkdir -p ${pkgdir}/usr/bin
+ ./install-sh ${pkgdir}/usr
}
+
diff --git a/phoronix-test-suite-git.install b/phoronix-test-suite-git.install
index dd1b5e4caaf..503509be8d6 100644
--- a/phoronix-test-suite-git.install
+++ b/phoronix-test-suite-git.install
@@ -1,4 +1,4 @@
-To Complete the Installation:
-
-Update your icons:
- $ xdg-icon-resource forceupdate
+post-install() {
+ gtk-update-icon cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+} \ No newline at end of file