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

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 7 00:54:43 UTC 2015


    Date: Monday, December 7, 2015 @ 01:54:42
  Author: foutrelis
Revision: 253120

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

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

----------------------------------+
 staging-i686/PKGBUILD            |   38 +++++++++++++++++++++++++++++++++++++
 staging-i686/libksane4.install   |   11 ++++++++++
 staging-x86_64/PKGBUILD          |   38 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/libksane4.install |   11 ++++++++++
 4 files changed, 98 insertions(+)

Copied: libksane4/repos/staging-i686/PKGBUILD (from rev 253119, libksane4/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-07 00:54:42 UTC (rev 253120)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane4
+_pkgname=libksane
+pkgver=15.08.3
+pkgrel=2
+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=('libksane<15.11')
+conflicts=('libksane<15.11')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
+sha1sums=('2707d84bdcd0ec568ff47066012c3086b07477cc')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$_pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: libksane4/repos/staging-i686/libksane4.install (from rev 253119, libksane4/trunk/libksane4.install)
===================================================================
--- staging-i686/libksane4.install	                        (rev 0)
+++ staging-i686/libksane4.install	2015-12-07 00:54:42 UTC (rev 253120)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: libksane4/repos/staging-x86_64/PKGBUILD (from rev 253119, libksane4/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-07 00:54:42 UTC (rev 253120)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane4
+_pkgname=libksane
+pkgver=15.08.3
+pkgrel=2
+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=('libksane<15.11')
+conflicts=('libksane<15.11')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$_pkgname-$pkgver.tar.xz")
+sha1sums=('2707d84bdcd0ec568ff47066012c3086b07477cc')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$_pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: libksane4/repos/staging-x86_64/libksane4.install (from rev 253119, libksane4/trunk/libksane4.install)
===================================================================
--- staging-x86_64/libksane4.install	                        (rev 0)
+++ staging-x86_64/libksane4.install	2015-12-07 00:54:42 UTC (rev 253120)
@@ -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