[arch-commits] Commit in kdegraphics-kolourpaint/trunk (2 files)

Andrea Scarpino andrea at archlinux.org
Mon Jul 25 00:15:05 UTC 2011


    Date: Sunday, July 24, 2011 @ 20:15:05
  Author: andrea
Revision: 132620

move pkgbuilds to trunk; cleanup

Added:
  kdegraphics-kolourpaint/trunk/PKGBUILD
    (from rev 132557, kdegraphics-kolourpaint/kde-unstable/PKGBUILD)
  kdegraphics-kolourpaint/trunk/kdegraphics-kolourpaint.install
    (from rev 132557, kdegraphics-kolourpaint/kde-unstable/kdegraphics-kolourpaint.install)

---------------------------------+
 PKGBUILD                        |   31 +++++++++++++++++++++++++++++++
 kdegraphics-kolourpaint.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Copied: kdegraphics-kolourpaint/trunk/PKGBUILD (from rev 132557, kdegraphics-kolourpaint/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:15:05 UTC (rev 132620)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kolourpaint
+pkgver=4.7.0
+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/stable/${pkgver}/src/kolourpaint-${pkgver}.tar.bz2")
+sha1sums=('e6095508eac71201b19a63d416ff771b7bc5b9ab')
+
+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/trunk/kdegraphics-kolourpaint.install (from rev 132557, kdegraphics-kolourpaint/kde-unstable/kdegraphics-kolourpaint.install)
===================================================================
--- kdegraphics-kolourpaint.install	                        (rev 0)
+++ kdegraphics-kolourpaint.install	2011-07-25 00:15:05 UTC (rev 132620)
@@ -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