summaryrefslogtreecommitdiff
path: root/community/gmic/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
committerroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
commit031887a2047546085998f965214f5b682664de9b (patch)
treed093de81eafda62084703e9109f86de6e02f1ad2 /community/gmic/PKGBUILD
parent1f9776d421ac40faa59f797893033e99e4f919eb (diff)
Sun Apr 21 01:12:25 PDT 2013
Diffstat (limited to 'community/gmic/PKGBUILD')
-rw-r--r--community/gmic/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD
index 72aee9d8e..ba20f9ea9 100644
--- a/community/gmic/PKGBUILD
+++ b/community/gmic/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 87641 2013-04-04 13:30:22Z spupykin $
+# $Id: PKGBUILD 88611 2013-04-20 16:45:04Z heftig $
# 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" "zart")
pkgver=1.5.5.1
-pkgrel=1
+pkgrel=2
arch=("i686" "x86_64")
url="http://gmic.sourceforge.net"
license=("custom:CeCILL")
@@ -18,12 +18,16 @@ source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz
md5sums=('ec68076448166ea18d15c0a69489dd25'
'120319b0d6c81c5af186abe2281b79ca')
-build() {
+prepare() {
cd "${srcdir}/gmic-${pkgver}"
patch -p1 -i "${srcdir}/opencv-buildfix.patch"
find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \;
find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \;
sed -i 's|qmake zart.pro|qmake-qt4 zart.pro|' src/Makefile
+}
+
+build() {
+ cd "${srcdir}/gmic-${pkgver}"
make -C src all
}