updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / fox-legacy / PKGBUILD
blob199f7701d1f7fe2c551aed271de5f07bf6e6b5e6
1 # $Id: PKGBUILD 8593 2010-01-21 02:12:00Z dgriffiths $
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Ben <ben@benmazer.net>
5 pkgname=fox-legacy
6 pkgver=1.4.35
7 pkgrel=3
8 pkgdesc="Free Objects for X: GUI Toolkit for C++ (version 1.4.X)"
9 arch=('i686' 'x86_64')
10 url="http://www.fox-toolkit.org/"
11 license=('LGPL')
12 options=('!libtool' 'force')
13 depends=('bzip2' 'cups' 'libxcursor' 'libxft' 'libxrandr' 'mesa')
14 source=(http://www.fox-toolkit.org/ftp/fox-$pkgver.tar.gz)
15 md5sums=('9f980f324de6e62f90af7a77d6d0cb2c')
17 build() {
18   cd $startdir/src/fox-$pkgver
19   sed -i 's/1.4/1.9/' configure
20   ./configure   --prefix=/usr \
21                 --enable-release \
22                 --with-xft=yes \
23                 --enable-cups \
24                 --with-opengl=yes
25   make || return 1
26   make DESTDIR=$startdir/pkg/ install || return 1
27   rm -r $startdir/pkg/usr/{bin,man}