# Maintainer: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: David Runge # Contributor: speps # Contributor: Dany Martineau pkgname=fox-devel pkgver=1.7.84 pkgrel=1 pkgdesc="Free Objects for X: GUI Toolkit for C++, development version." arch=(x86_64) url="http://www.fox-toolkit.org/" license=(LGPL 'custom') depends=(glu libsm libtiff libxcursor libxft libxi libxrandr) makedepends=(mesa) source=("http://www.fox-toolkit.org/ftp/fox-${pkgver}.tar.gz") sha512sums=('5590f16272a0630cb49e74e0f591e65886dd81ba1b0121d403fa3689ca8b23a727c75b645b417eb87e67fd0ece465b493146c8bb51d117a6559bb19b1b2b4297') build() { cd "fox-${pkgver}" ./configure \ --prefix=/usr \ --enable-static=no \ --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 "fox-${pkgver}" make DESTDIR="${pkgdir}/" install # license install -vDm 644 LICENSE_ADDENDUM \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # rename files to prevent conflicts with fox for _binary in `find "${pkgdir}"/usr/bin -type f`; do mv ${_binary} "${_binary}-devel" done; for _man in `find "${pkgdir}"/usr/share/man -type f`; do mv ${_man} "$(dirname ${_man})/$(basename ${_man})-devel.1" done; }