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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 18:53:41 UTC 2015


    Date: Friday, April 10, 2015 @ 20:53:40
  Author: arojas
Revision: 236080

archrelease: copy trunk to staging-i686, staging-x86_64

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

---------------------------------+
 staging-i686/PKGBUILD           |   34 ++++++++++++++++++++++++++++++++++
 staging-i686/libksane.install   |   11 +++++++++++
 staging-x86_64/PKGBUILD         |   34 ++++++++++++++++++++++++++++++++++
 staging-x86_64/libksane.install |   11 +++++++++++
 4 files changed, 90 insertions(+)

Copied: libksane/repos/staging-i686/PKGBUILD (from rev 236079, libksane/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 18:53:40 UTC (rev 236080)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=15.04.0
+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/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('5534c34b5bfeac4553442cf82eeb3340ecfbc9da')
+
+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 236079, libksane/trunk/libksane.install)
===================================================================
--- staging-i686/libksane.install	                        (rev 0)
+++ staging-i686/libksane.install	2015-04-10 18:53:40 UTC (rev 236080)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: libksane/repos/staging-x86_64/PKGBUILD (from rev 236079, libksane/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 18:53:40 UTC (rev 236080)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=15.04.0
+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/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('5534c34b5bfeac4553442cf82eeb3340ecfbc9da')
+
+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 236079, libksane/trunk/libksane.install)
===================================================================
--- staging-x86_64/libksane.install	                        (rev 0)
+++ staging-x86_64/libksane.install	2015-04-10 18:53:40 UTC (rev 236080)
@@ -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