Date: Tuesday, February 16, 2016 @ 08:58:18
  Author: arojas
Revision: 259380

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

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

---------------------------------+
 testing-i686/PKGBUILD           |   37 +++++++++++++++++++++++++++++++++++++
 testing-i686/libksane.install   |   11 +++++++++++
 testing-x86_64/PKGBUILD         |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/libksane.install |   11 +++++++++++
 4 files changed, 96 insertions(+)

Copied: libksane/repos/testing-i686/PKGBUILD (from rev 259379, 
libksane/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-02-16 07:58:18 UTC (rev 259380)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=libksane
+pkgver=15.12.2
+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=(ktextwidgets kwallet sane)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";)
+sha1sums=('e7e1060f5c303dda15e8203b95c612f904711d0a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: libksane/repos/testing-i686/libksane.install (from rev 259379, 
libksane/trunk/libksane.install)
===================================================================
--- testing-i686/libksane.install                               (rev 0)
+++ testing-i686/libksane.install       2016-02-16 07:58:18 UTC (rev 259380)
@@ -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/testing-x86_64/PKGBUILD (from rev 259379, 
libksane/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-02-16 07:58:18 UTC (rev 259380)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=libksane
+pkgver=15.12.2
+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=(ktextwidgets kwallet sane)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";)
+sha1sums=('e7e1060f5c303dda15e8203b95c612f904711d0a')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: libksane/repos/testing-x86_64/libksane.install (from rev 259379, 
libksane/trunk/libksane.install)
===================================================================
--- testing-x86_64/libksane.install                             (rev 0)
+++ testing-x86_64/libksane.install     2016-02-16 07:58:18 UTC (rev 259380)
@@ -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