# $Id: PKGBUILD 104796 2014-01-26 12:17:34Z andyrtr $ # Maintainer: Laurent Carlier # Contributor: Andrea Scarpino # Contributor: Gilles CHAUVIN # Contributor: Jonathan Schaeffer # Contributor: chfoxli pkgname=kphotoalbum pkgver=4.4 pkgrel=4 pkgdesc="KDE Photo Album, picture collection manager" url="http://www.kphotoalbum.org/" arch=('i686' 'x86_64') license=('GPL') depends=('kdebase-runtime' 'libkipi' 'libkdcraw') makedepends=('cmake' 'automoc4' 'kdeedu-marble' 'kdemultimedia-mplayerthumbs') optdepends=('kdeedu-marble: integration with Marble' 'kipi-plugins: add extra functionality' 'kdemultimedia-mplayerthumbs: video thumbnails') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('84cc7741c8e8c62e097ebb5e81d40979') build() { cd ${srcdir} mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }