# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sander Jansen pkgname=fxdesktop pkgver=0.1.12 pkgrel=2 pkgdesc="Lightweight Desktop Environment" arch=('i686' 'x86_64') url="http://code.google.com/p/fxdesktop/" license=('GPL') depends=('fox>=1.6.0' ) source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.bz2) md5sums=('9489e7369b5e052e0b6836a3b0670832') build() { cd $startdir/src/$pkgname-$pkgver # Override default flags export CFLAGS="-Wall -O2 -pipe" export CXXFLAGS="-Wall -O2 -pipe" [ "$CARCH" = "x86_64" ] && (sed -i -e 's|lib64|lib|g' build/config.linux_x86_64 || return 1) # Compile ./gb --prefix=/usr || return 1 ./gb --package-root=$startdir/pkg/usr install || return 1 }