PKGBUILDs/community/fox-legacy/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
858 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=fox-legacy
pkgver=1.4.35
pkgrel=2
pkgdesc="Free Objects for X: GUI Toolkit for C++ (version 1.4.X)"
arch=('i686' 'x86_64')
url="http://www.fox-toolkit.org/"
license=('LGPL')
options=('!libtool' 'force')
depends=('bzip2' 'cups' 'libxcursor' 'libxft' 'libxrandr' 'mesa')
source=(http://www.fox-toolkit.org/ftp/fox-$pkgver.tar.gz)
md5sums=('9f980f324de6e62f90af7a77d6d0cb2c')
build() {
cd $startdir/src/fox-$pkgver
sed -i 's/1.4/1.9/' configure
./configure --prefix=/usr \
--enable-release \
--with-xft=yes \
--enable-cups \
--with-opengl=yes
make || return 1
make DESTDIR=$startdir/pkg/ install || return 1
rm -r $startdir/pkg/usr/{bin,man}
}