Date: Wednesday, June 5, 2013 @ 22:04:29
  Author: andrea
Revision: 187650

archrelease: copy trunk to staging-i686

Added:
  libksane/repos/staging-i686/
  libksane/repos/staging-i686/PKGBUILD
    (from rev 187649, libksane/trunk/PKGBUILD)
  libksane/repos/staging-i686/libksane.install
    (from rev 187649, libksane/trunk/libksane.install)

------------------+
 PKGBUILD         |   33 +++++++++++++++++++++++++++++++++
 libksane.install |   11 +++++++++++
 2 files changed, 44 insertions(+)

Copied: libksane/repos/staging-i686/PKGBUILD (from rev 187649, 
libksane/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2013-06-05 20:04:29 UTC (rev 187650)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <[email protected]>
+
+pkgname=libksane
+pkgver=4.10.4
+pkgrel=1
+pkgdesc="An image scanning library"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libksane";
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'sane')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz";)
+sha1sums=('6bb65bd85a9e65dfc20448a359df77c11e6aca55')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: libksane/repos/staging-i686/libksane.install (from rev 187649, 
libksane/trunk/libksane.install)
===================================================================
--- staging-i686/libksane.install                               (rev 0)
+++ staging-i686/libksane.install       2013-06-05 20:04:29 UTC (rev 187650)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to