[arch-commits] Commit in libksane/repos (3 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 20:04:26 UTC 2013


    Date: Wednesday, June 5, 2013 @ 22:04:25
  Author: andrea
Revision: 187649

archrelease: copy trunk to staging-x86_64

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

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

Copied: libksane/repos/staging-x86_64/PKGBUILD (from rev 187648, libksane/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-06-05 20:04:25 UTC (rev 187649)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+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-x86_64/libksane.install (from rev 187648, libksane/trunk/libksane.install)
===================================================================
--- staging-x86_64/libksane.install	                        (rev 0)
+++ staging-x86_64/libksane.install	2013-06-05 20:04:25 UTC (rev 187649)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list