From da0a0d88caa1bf934ebf314ef86e15928dbb027b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 May 2013 00:36:35 -0700 Subject: Tue May 7 00:36:35 PDT 2013 --- extra/opengtl/PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'extra/opengtl/PKGBUILD') diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD index 67d61514a..bacb75045 100644 --- a/extra/opengtl/PKGBUILD +++ b/extra/opengtl/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 183549 2013-04-23 00:30:16Z eric $ +# $Id: PKGBUILD 184417 2013-05-06 19:39:02Z foutrelis $ # Maintainer: # Contributor: Ronald van Haren # Contributor: Andries Radu pkgname=opengtl pkgver=0.9.18 -pkgrel=1 +pkgrel=2 pkgdesc="A set of libraries for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications" url="http://www.opengtl.org" arch=('i686' 'x86_64') @@ -13,13 +13,18 @@ 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) -sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8') +source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2 + opengtl-0.9.18-memcpy.patch) +sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8' + '357cc2e538bbaaffe7d58956959d8a7fbae09741d4a87488a5a8c51ec645d23a') -build() { - cd "$srcdir" +prepare() { mkdir build - cd build + patch -d OpenGTL-$pkgver -Np1 -i "$srcdir/opengtl-0.9.18-memcpy.patch" +} + +build() { + cd "$srcdir/build" cmake ../OpenGTL-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -- cgit v1.2.3-54-g00ecf