summaryrefslogtreecommitdiff
path: root/community/fxprocessview/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/fxprocessview/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/fxprocessview/PKGBUILD')
-rw-r--r--community/fxprocessview/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/fxprocessview/PKGBUILD b/community/fxprocessview/PKGBUILD
new file mode 100644
index 000000000..4ef1d3f0f
--- /dev/null
+++ b/community/fxprocessview/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 8603 2010-01-21 02:55:46Z dgriffiths $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sander Jansen <sander@knology.net>
+
+pkgname=fxprocessview
+pkgver=0.5.0
+pkgrel=3
+pkgdesc="Process Viewer"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('fox>=1.4.0')
+url="http://code.google.com/p/fxdesktop/"
+source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.gz \
+ build-fix.patch)
+md5sums=('5d3cc8d7aec770997c281a743ddfda5a'
+ '2d2c3d54dcd2404149955f12cccb21a5')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+
+ # Override default flags
+ export CFLAGS="-Wall -O2 -pipe"
+ export CXXFLAGS="-Wall -O2 -pipe"
+
+ # Compile
+ patch -Np1 <../build-fix.patch || return 1
+ ./gb
+
+ # gb does not return valid error code
+ [ -f src/fxprocessview ] || return 1
+
+ # make sure destination exists
+ mkdir -p $startdir/pkg/usr/bin
+
+ # Install
+ ./gb install --package-root=$startdir/pkg/usr
+}