Date: Thursday, November 19, 2015 @ 21:36:47
  Author: arojas
Revision: 251267

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

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

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

Copied: libksane/repos/staging-i686/PKGBUILD (from rev 251266, 
libksane/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2015-11-19 20:36:47 UTC (rev 251267)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=libksane
+pkgver=15.11.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=(ktextwidgets kwallet sane)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";)
+sha1sums=('e02cb3bfe269953701976e63aa2480bf8e45bf62')
+
+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/staging-i686/libksane.install (from rev 251266, 
libksane/kde-unstable/libksane.install)
===================================================================
--- staging-i686/libksane.install                               (rev 0)
+++ staging-i686/libksane.install       2015-11-19 20:36:47 UTC (rev 251267)
@@ -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 251266, 
libksane/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2015-11-19 20:36:47 UTC (rev 251267)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=libksane
+pkgver=15.11.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=(ktextwidgets kwallet sane)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";)
+sha1sums=('e02cb3bfe269953701976e63aa2480bf8e45bf62')
+
+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/staging-x86_64/libksane.install (from rev 251266, 
libksane/kde-unstable/libksane.install)
===================================================================
--- staging-x86_64/libksane.install                             (rev 0)
+++ staging-x86_64/libksane.install     2015-11-19 20:36:47 UTC (rev 251267)
@@ -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