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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:18:47 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:18:47
  Author: arojas
Revision: 242646

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  libksane/repos/kde-unstable-i686/
  libksane/repos/kde-unstable-i686/PKGBUILD
    (from rev 242645, libksane/kde-unstable/PKGBUILD)
  libksane/repos/kde-unstable-i686/libksane.install
    (from rev 242645, libksane/kde-unstable/libksane.install)
  libksane/repos/kde-unstable-x86_64/
  libksane/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242645, libksane/kde-unstable/PKGBUILD)
  libksane/repos/kde-unstable-x86_64/libksane.install
    (from rev 242645, libksane/kde-unstable/libksane.install)

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

Copied: libksane/repos/kde-unstable-i686/PKGBUILD (from rev 242645, libksane/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:18:47 UTC (rev 242646)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('e2d72e3c6acc8f85f44fe543966b0b23fa9cd4d0')
+
+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/kde-unstable-i686/libksane.install (from rev 242645, libksane/kde-unstable/libksane.install)
===================================================================
--- kde-unstable-i686/libksane.install	                        (rev 0)
+++ kde-unstable-i686/libksane.install	2015-07-29 07:18:47 UTC (rev 242646)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 242645, libksane/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:18:47 UTC (rev 242646)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('e2d72e3c6acc8f85f44fe543966b0b23fa9cd4d0')
+
+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/kde-unstable-x86_64/libksane.install (from rev 242645, libksane/kde-unstable/libksane.install)
===================================================================
--- kde-unstable-x86_64/libksane.install	                        (rev 0)
+++ kde-unstable-x86_64/libksane.install	2015-07-29 07:18:47 UTC (rev 242646)
@@ -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