[arch-commits] Commit in kdegraphics-kolourpaint/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 16:16:05 UTC 2011


    Date: Thursday, November 24, 2011 @ 11:16:05
  Author: andrea
Revision: 143396

db-move: moved kdegraphics-kolourpaint from [staging] to [kde-unstable] (x86_64)

Added:
  kdegraphics-kolourpaint/repos/kde-unstable-x86_64/
  kdegraphics-kolourpaint/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, kdegraphics-kolourpaint/repos/staging-x86_64/PKGBUILD)
  kdegraphics-kolourpaint/repos/kde-unstable-x86_64/kdegraphics-kolourpaint.install
    (from rev 143277, kdegraphics-kolourpaint/repos/staging-x86_64/kdegraphics-kolourpaint.install)
Deleted:
  kdegraphics-kolourpaint/repos/staging-x86_64/

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

Copied: kdegraphics-kolourpaint/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdegraphics-kolourpaint/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:16:05 UTC (rev 143396)
@@ -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/kde-unstable-x86_64/kdegraphics-kolourpaint.install (from rev 143277, kdegraphics-kolourpaint/repos/staging-x86_64/kdegraphics-kolourpaint.install)
===================================================================
--- kde-unstable-x86_64/kdegraphics-kolourpaint.install	                        (rev 0)
+++ kde-unstable-x86_64/kdegraphics-kolourpaint.install	2011-11-24 16:16:05 UTC (rev 143396)
@@ -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