desktop/kipi-plugins/PKGBUILD
2010-09-09 17:43:34 +00:00

37 lines
1005 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=kipi-plugins
pkgver=1.4.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-common' 'kdepimlibs' 'opencv' 'libgpod')
source=("http://downloads.sourceforge.net/kipi/$pkgname-$pkgver.tar.bz2")
optdepends=('imagemagick: for picture manipulation'
'qca: for shwup webservice support')
install=${pkgname}.install
md5sums=('c4e58884aa8b7bcd815fb1b3d55f144e')
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=$pkgdir install || return 1
}