diff options
Diffstat (limited to 'community/fox')
-rw-r--r-- | community/fox/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/fox/PKGBUILD b/community/fox/PKGBUILD new file mode 100644 index 000000000..6a84a73b6 --- /dev/null +++ b/community/fox/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 40876 2011-03-01 10:03:57Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Ben <ben@benmazer.net> + +pkgname=fox +pkgver=1.6.43 +pkgrel=1 +pkgdesc="Free Objects for X: GUI Toolkit for C++" +arch=('i686' 'x86_64') +url="http://www.fox-toolkit.org/" +license=('LGPL' 'custom') +depends=('bzip2' 'libxcursor' 'libxft' 'libxrandr' 'mesa' 'libxi' 'libpng' 'libtiff') +optdepends=('perl') +options=('!libtool') +source=(http://www.fox-toolkit.org/ftp/${pkgname}-${pkgver}.tar.gz) +md5sums=('4c6a322a8117420e417daeec8fbfeba5') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + export CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" + + ./configure --prefix=/usr \ + --enable-release \ + --with-xft=yes \ + --with-opengl=yes \ + --with-xim \ + --with-xshm \ + --with-shape \ + --with-xcursor \ + --with-xrender \ + --with-xrandr \ + --with-xfixes \ + --with-xinput + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + + cd ${srcdir}/${pkgname}-${pkgver}/tests + make ControlPanel + install -m755 ${srcdir}/${pkgname}-${pkgver}/tests/.libs/ControlPanel ${pkgdir}/usr/bin/ + install -Dm644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} |