# $Id: PKGBUILD 47501 2009-07-23 21:48:39Z pierre $ # Maintainer: Tobias Powalowski pkgname=digikam pkgver=0.10.0 pkgrel=4 pkgdesc="Digital photo management application for kde" arch=(i686 x86_64) license=('GPL') url="http://digikam.sourceforge.net" depends=('kdebase-runtime' 'kdegraphics-libs' 'kdepimlibs' 'lensfun') makedepends=('pkgconfig' 'cmake' 'automoc4') source=(http://downloads.sourceforge.net/digikam/${pkgname}-0.10.0.tar.bz2) replaces=('digikamimageplugins') optdepends=('kipi-plugins: for more extras and plugins') md5sums=('6c6daf958ff4fe93974f1074ba967cd9') build() { cd ${srcdir}/${pkgname}-0.10.0 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MARBLEWIDGET=no -DWITH_MarbleWidget=no \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' make all|| return 1 make DESTDIR=${pkgdir} install || return 1 }