Date: Monday, February 24, 2014 @ 10:11:37
  Author: spupykin
Revision: 106152

Modified:
  phoronix-test-suite/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-02-24 09:06:12 UTC (rev 106151)
+++ PKGBUILD    2014-02-24 09:11:37 UTC (rev 106152)
@@ -11,8 +11,7 @@
 url="http://www.phoronix-test-suite.com/";
 depends=('php')
 optdepends=('php-gtk'
-           'php-gd'
-           'php-curl')
+           'php-gd')
 install=${pkgname}.install
 
source=(http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-$pkgver.tar.gz)
 md5sums=('93197df8276650f6a820f170ef10a36e')
@@ -20,9 +19,9 @@
 package() {
   cd $srcdir/phoronix-test-suite
   sed -i 's#-packages.sh#-packages.sh --asdeps#' 
pts-core/objects/client/pts_external_dependencies.php
-  install -d $pkgdir/usr/bin $pkgdir/usr/share/phoronix-test-suite
+  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 -m755 phoronix-test-suite $pkgdir/usr/bin/
+  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/
 }

Reply via email to