# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkdcraw # Include global configuration source ../kdeapps.conf pkgname=kamera pkgver=${_kdever} pkgrel=1 pkgdesc="KDE integration for gphoto2 cameras" url="http://kde.org/applications/graphics/kamera/" arch=(x86_64) license=(GPL LGPL FDL) groups=(kde kde-applications kdegraphics kde-uninstall) depends=(kio libgphoto2) makedepends=(extra-cmake-modules kdoctools) conflicts=(kdegraphics-kamera) replaces=(kdegraphics-kamera) options=('docs' 'debug') source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig}) sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1` 'SKIP') validpgpkeys=(${Avalidpgpkeys}) prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR=${pkgdir} install }