updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / libkdcraw / PKGBUILD
blob13bb6cfd18c439a537c256462fec8f9cadc3f8c8
1 # Contributor: Daniel Isenmann <daniel@archlinux.org>
3 pkgname=libkdcraw
4 pkgver=0.4.1
5 _orig=kdegraphics
6 _origpkgver=4.2.1
7 pkgrel=1
8 pkgdesc="libkdcraw as standalone library for digikam-slim"
9 arch=('i686' 'x86_64')
10 url='http://www.kde.org'
11 license=('GPL' 'LGPL' 'FDL')
12 depends=('kdelibs' 'lcms' 'libjpeg')
13 makedepends=('pkgconfig' 'cmake' 'automoc4')
14 conflicts=('kdegraphics')
15 options=('docs')
16 source=("http://download.kde.org/stable/${_origpkgver}/src/${_orig}-${_origpkgver}.tar.bz2")
17 md5sums=('9cc2bc859e678aa6178a5c6cf87eb0ab')
19 build() {
20         cd $srcdir
21         mkdir build
22         cd build
23         cmake ../${_orig}-${_origpkgver} \
24                 -DCMAKE_BUILD_TYPE=Release \
25                 -DCMAKE_INSTALL_PREFIX=/usr || return 1
26         cd libs/${pkgname}
27         make || return 1
28         make DESTDIR=$pkgdir install || return 1