desktop/skanlite/PKGBUILD
2016-02-23 14:46:10 +01:00

35 lines
771 B
Bash

source ../kdeapps.conf
pkgname=skanlite
pkgver=2.0
pkgrel=3
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=('ac001be079521de38e0fb72e42cb3750b41451d1df8f85e6af73affa5418aec8')
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
}