summaryrefslogtreecommitdiff
path: root/community/fxdesktop/PKGBUILD
blob: e75d296b87e97324803f62ae5e6dd15dd318eab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 77636 2012-10-13 11:42:37Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sander Jansen <sander@knology.net>

pkgname=fxdesktop
pkgver=0.1.12
pkgrel=6
pkgdesc="Lightweight Desktop Environment"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/fxdesktop/"
license=('GPL')
depends=('fox>=1.6.0')
makedepends=('glu')
source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
md5sums=('9489e7369b5e052e0b6836a3b0670832')

build() {
  cd $srcdir/$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)
  # Compile
  ./gb --prefix=/usr
  ./gb --package-root=$pkgdir/usr install
}