# $Id: PKGBUILD 53357 2009-09-30 16:18:18Z tpowa $ # Maintainer: Tobias Powalowski pkgname=kipi-plugins pkgver=0.7.0 pkgrel=1 pkgdesc="libkipi plugins for digikam and kde apps" arch=("i686" "x86_64") license=('GPL') url="http://www.kipi-plugins.org" makedepends=('pkgconfig' 'cmake' 'automoc4') depends=('kdegraphics-libs' 'kdepimlibs' 'opencv' 'libgpod>=0.7.0') source=("http://downloads.sourceforge.net/sourceforge/kipi/$pkgname-$pkgver.tar.bz2") optdepends=('imagemagick: for picture manipulation') install=kipi-plugins.install build() { cd $srcdir/$pkgname-$pkgver cmake . -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' make make || return 1 make DESTDIR=$pkgdir install } md5sums=('564e766f7afac6169ff0cc591667183c')