[arch-commits] Commit in kdegraphics-kolourpaint/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Wed Nov 23 08:13:54 UTC 2011
Date: Wednesday, November 23, 2011 @ 03:13:54
Author: andrea
Revision: 143175
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdegraphics-kolourpaint/repos/staging-i686/
kdegraphics-kolourpaint/repos/staging-i686/PKGBUILD
(from rev 143174, kdegraphics-kolourpaint/trunk/PKGBUILD)
kdegraphics-kolourpaint/repos/staging-i686/kdegraphics-kolourpaint.install
(from rev 143174, kdegraphics-kolourpaint/trunk/kdegraphics-kolourpaint.install)
kdegraphics-kolourpaint/repos/staging-x86_64/
kdegraphics-kolourpaint/repos/staging-x86_64/PKGBUILD
(from rev 143174, kdegraphics-kolourpaint/trunk/PKGBUILD)
kdegraphics-kolourpaint/repos/staging-x86_64/kdegraphics-kolourpaint.install
(from rev 143174, kdegraphics-kolourpaint/trunk/kdegraphics-kolourpaint.install)
------------------------------------------------+
staging-i686/PKGBUILD | 31 +++++++++++++++++++++++
staging-i686/kdegraphics-kolourpaint.install | 12 ++++++++
staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++
staging-x86_64/kdegraphics-kolourpaint.install | 12 ++++++++
4 files changed, 86 insertions(+)
Copied: kdegraphics-kolourpaint/repos/staging-i686/PKGBUILD (from rev 143174, kdegraphics-kolourpaint/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2011-11-23 08:13:54 UTC (rev 143175)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kolourpaint
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Paint Program"
+url="http://kde.org/applications/graphics/kolourpaint/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kolourpaint-${pkgver}.tar.bz2")
+sha1sums=('7d2e2eee77fe9307eef18cb5accd476fbb55fa57')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kolourpaint-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-kolourpaint/repos/staging-i686/kdegraphics-kolourpaint.install (from rev 143174, kdegraphics-kolourpaint/trunk/kdegraphics-kolourpaint.install)
===================================================================
--- staging-i686/kdegraphics-kolourpaint.install (rev 0)
+++ staging-i686/kdegraphics-kolourpaint.install 2011-11-23 08:13:54 UTC (rev 143175)
@@ -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-kolourpaint/repos/staging-x86_64/PKGBUILD (from rev 143174, kdegraphics-kolourpaint/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2011-11-23 08:13:54 UTC (rev 143175)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kolourpaint
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Paint Program"
+url="http://kde.org/applications/graphics/kolourpaint/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime' 'qimageblitz')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kolourpaint-${pkgver}.tar.bz2")
+sha1sums=('7d2e2eee77fe9307eef18cb5accd476fbb55fa57')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kolourpaint-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-kolourpaint/repos/staging-x86_64/kdegraphics-kolourpaint.install (from rev 143174, kdegraphics-kolourpaint/trunk/kdegraphics-kolourpaint.install)
===================================================================
--- staging-x86_64/kdegraphics-kolourpaint.install (rev 0)
+++ staging-x86_64/kdegraphics-kolourpaint.install 2011-11-23 08:13:54 UTC (rev 143175)
@@ -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