[arch-commits] Commit in libksane/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue Sep 6 21:33:00 UTC 2011
Date: Tuesday, September 6, 2011 @ 17:33:00
Author: andrea
Revision: 137250
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libksane/repos/staging-i686/
libksane/repos/staging-i686/PKGBUILD
(from rev 137249, libksane/trunk/PKGBUILD)
libksane/repos/staging-i686/libksane.install
(from rev 137249, libksane/trunk/libksane.install)
libksane/repos/staging-x86_64/
libksane/repos/staging-x86_64/PKGBUILD
(from rev 137249, libksane/trunk/PKGBUILD)
libksane/repos/staging-x86_64/libksane.install
(from rev 137249, libksane/trunk/libksane.install)
---------------------------------+
staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-i686/libksane.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-x86_64/libksane.install | 11 +++++++++++
4 files changed, 86 insertions(+)
Copied: libksane/repos/staging-i686/PKGBUILD (from rev 137249, libksane/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2011-09-06 21:33:00 UTC (rev 137250)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=4.7.1
+pkgrel=1
+pkgdesc="An image scanning library"
+url="http://kde.org/"
+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.bz2")
+sha1sums=('d461b668e890069afb8818e6b367063fc92721da')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libksane/repos/staging-i686/libksane.install (from rev 137249, libksane/trunk/libksane.install)
===================================================================
--- staging-i686/libksane.install (rev 0)
+++ staging-i686/libksane.install 2011-09-06 21:33:00 UTC (rev 137250)
@@ -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 137249, libksane/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2011-09-06 21:33:00 UTC (rev 137250)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libksane
+pkgver=4.7.1
+pkgrel=1
+pkgdesc="An image scanning library"
+url="http://kde.org/"
+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.bz2")
+sha1sums=('d461b668e890069afb8818e6b367063fc92721da')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libksane/repos/staging-x86_64/libksane.install (from rev 137249, libksane/trunk/libksane.install)
===================================================================
--- staging-x86_64/libksane.install (rev 0)
+++ staging-x86_64/libksane.install 2011-09-06 21:33:00 UTC (rev 137250)
@@ -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