desktop/skanlite/PKGBUILD
2015-03-07 23:37:07 +00:00

35 lines
755 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=skanlite
pkgver=1.1
pkgrel=2
pkgdesc="Image Scanning Application for KDE"
arch=('x86_64')
url='http://www.kde.org'
license=('LGPL')
depends=('kdegraphics-libksane' 'kde-runtime' )
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
categories=('graphics')
options=('docs')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
md5sums=('21cd642d4177fff759bf4694af39b9fe')
build() {
cd $pkgname-$pkgver
mkdir build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}