summaryrefslogtreecommitdiff
path: root/community/gmic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmic/PKGBUILD')
-rw-r--r--community/gmic/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD
index a0a3a160f..e0339fde1 100644
--- a/community/gmic/PKGBUILD
+++ b/community/gmic/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 102358 2013-12-09 12:50:15Z spupykin $
+# $Id: PKGBUILD 105557 2014-02-10 11:18:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: farid <farid at archlinuc-br.org>
@@ -6,7 +6,7 @@
pkgbase=gmic
pkgname=("gmic" "gimp-plugin-gmic" "zart")
-pkgver=1.5.8.0
+pkgver=1.5.8.3
pkgrel=1
arch=("i686" "x86_64" "mips64el")
url="http://gmic.sourceforge.net"
@@ -15,20 +15,20 @@ makedepends=('gimp' 'qt4' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2')
#options=('!emptydirs')
source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz"
"opencv-buildfix.patch")
-md5sums=('286d99392a80aaaf2dbcda2ec95f021e'
+md5sums=('ee80a2dc1a2441a6c0adf92e9bea623b'
'120319b0d6c81c5af186abe2281b79ca')
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
+ sed -i 's|qmake zart.pro|qmake-qt4 zart.pro|g' src/Makefile
+ sed -i 's|/usr/bin/qmake|/usr/bin/qmake-qt4|g' zart/Makefile
}
build() {
cd "${srcdir}/gmic-${pkgver}"
make -C src all
+ make -C zart all
}
package_gmic() {
@@ -47,9 +47,8 @@ package_zart() {
depends=("opencv" "fftw" "qt4")
cd "${srcdir}/gmic-${pkgver}"
- make -C src install DESTDIR="$pkgdir" USR="/usr"
+ install -Dm755 zart/zart "${pkgdir}/usr/bin/zart"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}}
}
package_gimp-plugin-gmic() {