diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-03 03:28:00 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-03 03:28:00 +0000 |
commit | 5646de4a9273897b8a619641ed988c4bb217a509 (patch) | |
tree | 9f4c0ca7e9066f8eb5f065eb7102d06d923470b2 /community/skanlite | |
parent | 171120794a952c6e0e75aef6ecdf46cd6d5154c8 (diff) |
Mon Feb 3 03:26:00 UTC 2014
Diffstat (limited to 'community/skanlite')
-rw-r--r-- | community/skanlite/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/skanlite/PKGBUILD b/community/skanlite/PKGBUILD new file mode 100644 index 000000000..b8654f92c --- /dev/null +++ b/community/skanlite/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: birdflesh <antkoul at gmail dot com> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=skanlite +pkgver=1.1 +pkgrel=2 +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.xz") +md5sums=('21cd642d4177fff759bf4694af39b9fe') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DQT_QMAKE_EXECUTABLE=qmake-qt4 \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |