desktop/skanlite/PKGBUILD

36 lines
786 B
Bash
Raw Normal View History

2016-02-18 07:11:10 +08:00
source ../kdeapps.conf
2010-06-06 23:11:42 +08:00
pkgname=skanlite
2016-11-01 22:55:00 +08:00
pkgver=2.0.1
_pkgver=2.0
pkgrel=1
2010-06-06 23:11:42 +08:00
pkgdesc="Image Scanning Application for KDE"
2013-02-26 05:47:53 +08:00
arch=('x86_64')
2010-06-06 23:11:42 +08:00
url='http://www.kde.org'
license=('LGPL')
depends=('libksane' 'qt5-base' 'kcoreaddons' 'ki18n' 'kxmlgui' 'kio' 'kdoctools' 'ktextwidgets')
2016-02-18 07:11:10 +08:00
makedepends=('cmake' 'extra-cmake-modules')
categories=('graphics')
2010-06-06 23:11:42 +08:00
options=('docs')
2016-11-01 22:55:00 +08:00
source=("http://download.kde.org/stable/$pkgname/$_pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('3b4541136e9dc61c1fbd9582d11e8cf749317ff89d357b876370be2400da0236')
2010-06-06 23:11:42 +08:00
prepare() {
2015-03-08 07:37:07 +08:00
cd $pkgname-$pkgver
mkdir -p build
}
build() {
cd $pkgname-$pkgver/build
2016-02-18 07:11:10 +08:00
cmake_kf5 .. \
2010-06-06 23:11:42 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
2013-02-26 05:47:53 +08:00
make
2010-06-06 23:11:42 +08:00
}
package() {
2015-03-08 07:37:07 +08:00
cd $pkgname-$pkgver/build
2013-02-26 05:47:53 +08:00
2015-03-08 07:37:07 +08:00
make DESTDIR=$pkgdir install
2010-06-06 23:11:42 +08:00
}