diff options
Diffstat (limited to 'community/fxprocessview/PKGBUILD')
-rw-r--r-- | community/fxprocessview/PKGBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/community/fxprocessview/PKGBUILD b/community/fxprocessview/PKGBUILD index 294f7e494..b735ce6b3 100644 --- a/community/fxprocessview/PKGBUILD +++ b/community/fxprocessview/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 8603 2010-01-21 02:55:46Z dgriffiths $ +# $Id: PKGBUILD 63572 2012-02-05 11:56:52Z ibiru $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sander Jansen <sander@knology.net> pkgname=fxprocessview pkgver=0.5.0 -pkgrel=3 +pkgrel=4 pkgdesc="Process Viewer" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -16,22 +16,17 @@ md5sums=('5d3cc8d7aec770997c281a743ddfda5a' '2d2c3d54dcd2404149955f12cccb21a5') build() { - cd $startdir/src/$pkgname-$pkgver - + cd $srcdir/$pkgname-$pkgver # Override default flags export CFLAGS="-Wall -O2 -pipe" export CXXFLAGS="-Wall -O2 -pipe" - # Compile - patch -Np1 <../build-fix.patch || return 1 - ./gb - + patch -Np1 <../build-fix.patch + ./gb # gb does not return valid error code - [ -f src/fxprocessview ] || return 1 - - # make sure destination exists - mkdir -p $startdir/pkg/usr/bin - + [ -f src/fxprocessview ] + # make sure destination exists + mkdir -p $pkgdir/usr/bin # Install - ./gb install --package-root=$startdir/pkg/usr + ./gb install --package-root=$pkgdir/usr } |