diff options
-rw-r--r-- | pcr/skanlite/PKGBUILD | 30 |
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 +} |