[arch-commits] Commit in kdegraphics-ksaneplugin/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:15:10 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:15:10
  Author: andrea
Revision: 132622

move pkgbuilds to trunk; cleanup

Added:
  kdegraphics-ksaneplugin/trunk/PKGBUILD
    (from rev 132557, kdegraphics-ksaneplugin/kde-unstable/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: kdegraphics-ksaneplugin/trunk/PKGBUILD (from rev 132557, kdegraphics-ksaneplugin/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:15:10 UTC (rev 132622)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksaneplugin
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="A scan plugin that implements the scanning"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('libksane')
+makedepends=('cmake' 'automoc4')
+conflicts=('kdegraphics-libs')
+source=("http://download.kde.org/stable/${pkgver}/src/ksaneplugin-${pkgver}.tar.bz2")
+sha1sums=('2d1b61bad04d24f699ea64b203a112df15d37946')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksaneplugin-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list