summaryrefslogtreecommitdiff
path: root/pcr/skanlite
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2013-03-03 20:08:26 +0100
committerDaniel Martí <mvdan@mvdan.cc>2013-03-03 20:08:26 +0100
commitb8abfa5c393d7fd7150a4aed1fb1e65dee85666d (patch)
tree0f980a9b4bc10650d5a65c744a58b81f8f49f804 /pcr/skanlite
parente162d50b2e66f37b84040498a251c30fcb9c7f84 (diff)
parentab8deffc6f4cadc2e90e841ceb0aa48493693425 (diff)
Merge http://projects.parabolagnulinux.org/abslibre
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
+}