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
|
2013-02-26 05:47:53 +08:00
|
|
|
pkgver=1.0
|
2013-07-28 06:42:28 +08:00
|
|
|
pkgrel=2
|
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')
|
2010-12-02 23:10:29 +08:00
|
|
|
depends=('kdegraphics-common' )
|
|
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('graphics')
|
2010-06-06 23:11:42 +08:00
|
|
|
options=('docs')
|
2010-12-02 23:10:29 +08:00
|
|
|
source=("http://downloads.sourceforge.net/sanewidget/${pkgname}-${pkgver}.tar.bz2")
|
2013-02-26 05:47:53 +08:00
|
|
|
md5sums=('e22b2719f134d2483591082026961bf5')
|
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
|
|
|
|
}
|