desktop/skanlite/PKGBUILD

36 lines
767 B
Bash
Raw Normal View History

2010-06-06 23:11:42 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
2013-02-26 05:47:53 +08:00
# maintainer abveritas[at]chakra-project[dot]org>
2010-06-06 23:11:42 +08:00
pkgname=skanlite
pkgver=1.1
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=('kdegraphics-libksane' 'kde-runtime' )
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
categories=('graphics')
2010-06-06 23:11:42 +08:00
options=('docs')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
md5sums=('21cd642d4177fff759bf4694af39b9fe')
2010-06-06 23:11:42 +08:00
build() {
cd ${srcdir}
2013-02-26 05:47:53 +08:00
2010-06-06 23:11:42 +08:00
mkdir build
cd build
2010-11-19 17:14:33 +08:00
cmake ../${pkgname}-${pkgver} \
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() {
cd ${srcdir}/build
2013-02-26 05:47:53 +08:00
2010-06-06 23:11:42 +08:00
make DESTDIR=${pkgdir} install
}