source ../kdeapps.conf pkgname=skanlite pkgver=2.0.1 _pkgver=2.0 pkgrel=1 pkgdesc="Image Scanning Application for KDE" arch=('x86_64') url='http://www.kde.org' license=('LGPL') depends=('libksane' 'qt5-base' 'kcoreaddons' 'ki18n' 'kxmlgui' 'kio' 'kdoctools' 'ktextwidgets') makedepends=('cmake' 'extra-cmake-modules') categories=('graphics') options=('docs') source=("http://download.kde.org/stable/$pkgname/$_pkgver/$pkgname-$pkgver.tar.xz") sha256sums=('3b4541136e9dc61c1fbd9582d11e8cf749317ff89d357b876370be2400da0236') prepare() { cd $pkgname-$pkgver mkdir -p build } build() { cd $pkgname-$pkgver/build cmake_kf5 .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $pkgname-$pkgver/build make DESTDIR=$pkgdir install }