summaryrefslogtreecommitdiff
path: root/community/gmic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmic/PKGBUILD')
-rw-r--r--community/gmic/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD
index ccfbf4d53..049f0fe11 100644
--- a/community/gmic/PKGBUILD
+++ b/community/gmic/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 61559 2012-01-02 22:44:42Z spupykin $
+# $Id: PKGBUILD 63596 2012-02-05 11:58:54Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: farid <farid at archlinuc-br.org>
@@ -7,7 +7,7 @@
pkgbase=gmic
pkgname=('gmic' 'gimp-plugin-gmic')
pkgver=1.5.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="image procession framework"
arch=('i686' 'x86_64')
license=('custom:CeCILL')
@@ -29,6 +29,7 @@ build() {
sed -i 's|OPENCV_CFLAGS = .*|OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include/opencv `pkg-config --cflags opencv`|' src/Makefile
sed -i 's|OPENCV_LDFLAGS = .*|OPENCV_LDFLAGS = `pkg-config --libs opencv`|' src/Makefile
sed -i 's|cp -f gmic_gimp.*||' src/Makefile
+ sed -i 's|ln -s $(DESTDIR)$(USR)|ln -s $(USR)|' src/Makefile
patch -p1 <$srcdir/opencv-buildfix.patch
make -C src all
}