[arch-commits] Commit in libksane/repos (6 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu Apr 4 03:59:42 UTC 2013
Date: Thursday, April 4, 2013 @ 05:59:42
Author: svenstaro
Revision: 181455
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libksane/repos/staging-i686/
libksane/repos/staging-i686/PKGBUILD
(from rev 181454, libksane/trunk/PKGBUILD)
libksane/repos/staging-i686/libksane.install
(from rev 181454, libksane/trunk/libksane.install)
libksane/repos/staging-x86_64/
libksane/repos/staging-x86_64/PKGBUILD
(from rev 181454, libksane/trunk/PKGBUILD)
libksane/repos/staging-x86_64/libksane.install
(from rev 181454, libksane/trunk/libksane.install)
---------------------------------+
staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
staging-i686/libksane.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
staging-x86_64/libksane.install | 11 +++++++++++
4 files changed, 88 insertions(+)
Copied: libksane/repos/staging-i686/PKGBUILD (from rev 181454, libksane/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-04-04 03:59:42 UTC (rev 181455)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=4.10.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=('kdelibs' 'sane')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('3b9b83974dd2cdabe0cbe5fd3904ced1413a756b')
+
+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 181454, libksane/trunk/libksane.install)
===================================================================
--- staging-i686/libksane.install (rev 0)
+++ staging-i686/libksane.install 2013-04-04 03:59:42 UTC (rev 181455)
@@ -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 181454, libksane/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-04-04 03:59:42 UTC (rev 181455)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=4.10.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=('kdelibs' 'sane')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('3b9b83974dd2cdabe0cbe5fd3904ced1413a756b')
+
+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 181454, libksane/trunk/libksane.install)
===================================================================
--- staging-x86_64/libksane.install (rev 0)
+++ staging-x86_64/libksane.install 2013-04-04 03:59:42 UTC (rev 181455)
@@ -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