diff options
Diffstat (limited to 'testing/opengtl/PKGBUILD')
-rw-r--r-- | testing/opengtl/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/opengtl/PKGBUILD b/testing/opengtl/PKGBUILD new file mode 100644 index 000000000..ba03186c2 --- /dev/null +++ b/testing/opengtl/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 148247 2012-01-30 18:49:10Z ibiru $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Andries Radu <admiral0@live.it> + +pkgname=opengtl +pkgver=0.9.16 +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' 'llvm') +makedepends=('cmake' 'libpng') +optdepends=('libpng: for using the png extension') +source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) +sha1sums=('3cfe4a08e5778c13f7e74dfc822adb68f97ad048') + +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 +} |