summaryrefslogtreecommitdiff
path: root/pcr/skanlite
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-26 19:36:57 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-26 19:36:57 +0100
commit67eca30b49babc2299f85afd2433e024c85ac546 (patch)
treea9978f7db98d5c4ad245fb2beeec898ba87e5ada /pcr/skanlite
parentd9aa12647d8d980e7d188c346880d3307dd6ab78 (diff)
Add skanlite from AUR to pcr.
Diffstat (limited to 'pcr/skanlite')
-rw-r--r--pcr/skanlite/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/skanlite/PKGBUILD b/pcr/skanlite/PKGBUILD
new file mode 100644
index 000000000..42a164785
--- /dev/null
+++ b/pcr/skanlite/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: birdflesh <antkoul at gmail dot com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=skanlite
+pkgver=1.0
+pkgrel=1
+pkgdesc="Image Scanning Application for KDE"
+arch=('i686' 'x86_64')
+url='http://www.kde.org/applications/graphics/skanlite'
+license=('GPL')
+depends=('kdebase-runtime' 'libksane')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
+md5sums=('e22b2719f134d2483591082026961bf5')
+
+build() {
+ cd "$srcdir"
+ mkdir build
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}