# $Id: PKGBUILD 120658 2011-04-25 21:17:33Z eric $ # Maintainer: Ronald van Haren # Contributor: Andries Radu pkgname=opengtl pkgver=0.9.15.1 pkgrel=1 pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications" url="http://www.opengtl.org" arch=('i686' 'x86_64') license=('GPL') depends=('gcc-libs') makedepends=('cmake' 'llvm' 'libpng') optdepends=('libpng: for using the png extension') source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) md5sums=('052fc8504ced601e356e4d20621699f7') sha1sums=('ddd25b1f5eb11ae0b438c67d5a2a73481e919a0a') build() { cd "${srcdir}" mkdir build cd build cmake ../OpenGTL-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }