[arch-commits] Commit in kdeedu-ktouch/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:15:22 EST 2011


    Date: Thursday, November 24, 2011 @ 11:15:21
  Author: andrea
Revision: 143374

db-move: moved kdeedu-ktouch from [staging] to [kde-unstable] (x86_64)

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

-----------------------+
 PKGBUILD              |   31 +++++++++++++++++++++++++++++++
 kdeedu-ktouch.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: kdeedu-ktouch/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdeedu-ktouch/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:15:21 UTC (rev 143374)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Touch Typing Tutor"
+url="http://kde.org/applications/education/ktouch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/ktouch-${pkgver}.tar.bz2")
+sha1sums=('ebba0f8d22ca06db2488d1059b41432fce6b7a67')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ktouch-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-ktouch/repos/kde-unstable-x86_64/kdeedu-ktouch.install (from rev 143277, kdeedu-ktouch/repos/staging-x86_64/kdeedu-ktouch.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-ktouch.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeedu-ktouch.install	2011-11-24 16:15:21 UTC (rev 143374)
@@ -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