[arch-commits] Commit in kdegraphics-gwenview/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue Oct 2 19:42:22 UTC 2012
Date: Tuesday, October 2, 2012 @ 15:42:22
Author: andrea
Revision: 167625
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegraphics-gwenview/repos/testing-i686/
kdegraphics-gwenview/repos/testing-i686/PKGBUILD
(from rev 167624, kdegraphics-gwenview/trunk/PKGBUILD)
kdegraphics-gwenview/repos/testing-i686/kdegraphics-gwenview.install
(from rev 167624, kdegraphics-gwenview/trunk/kdegraphics-gwenview.install)
kdegraphics-gwenview/repos/testing-x86_64/
kdegraphics-gwenview/repos/testing-x86_64/PKGBUILD
(from rev 167624, kdegraphics-gwenview/trunk/PKGBUILD)
kdegraphics-gwenview/repos/testing-x86_64/kdegraphics-gwenview.install
(from rev 167624, kdegraphics-gwenview/trunk/kdegraphics-gwenview.install)
---------------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++
testing-i686/kdegraphics-gwenview.install | 12 +++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++
testing-x86_64/kdegraphics-gwenview.install | 12 +++++++++
4 files changed, 88 insertions(+)
Copied: kdegraphics-gwenview/repos/testing-i686/PKGBUILD (from rev 167624, kdegraphics-gwenview/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-02 19:42:22 UTC (rev 167625)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-gwenview
+pkgver=4.9.2
+pkgrel=1
+pkgdesc="A fast and easy to use image viewer for KDE"
+url="http://kde.org/applications/graphics/gwenview/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-lib' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins: extra plugins to share photos')
+install=$pkgname.install
+source=("http://download.kde.org/stable/${pkgver}/src/gwenview-${pkgver}.tar.xz")
+sha1sums=('5a48c195d4c305f166b2d9fc1a483457c4698156')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../gwenview-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-gwenview/repos/testing-i686/kdegraphics-gwenview.install (from rev 167624, kdegraphics-gwenview/trunk/kdegraphics-gwenview.install)
===================================================================
--- testing-i686/kdegraphics-gwenview.install (rev 0)
+++ testing-i686/kdegraphics-gwenview.install 2012-10-02 19:42:22 UTC (rev 167625)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegraphics-gwenview/repos/testing-x86_64/PKGBUILD (from rev 167624, kdegraphics-gwenview/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-02 19:42:22 UTC (rev 167625)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-gwenview
+pkgver=4.9.2
+pkgrel=1
+pkgdesc="A fast and easy to use image viewer for KDE"
+url="http://kde.org/applications/graphics/gwenview/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-lib' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins: extra plugins to share photos')
+install=$pkgname.install
+source=("http://download.kde.org/stable/${pkgver}/src/gwenview-${pkgver}.tar.xz")
+sha1sums=('5a48c195d4c305f166b2d9fc1a483457c4698156')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../gwenview-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-gwenview/repos/testing-x86_64/kdegraphics-gwenview.install (from rev 167624, kdegraphics-gwenview/trunk/kdegraphics-gwenview.install)
===================================================================
--- testing-x86_64/kdegraphics-gwenview.install (rev 0)
+++ testing-x86_64/kdegraphics-gwenview.install 2012-10-02 19:42:22 UTC (rev 167625)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list