[arch-commits] Commit in kdeedu-ktouch/trunk (PKGBUILD kdeedu-ktouch.install)
Andrea Scarpino
andrea at archlinux.org
Mon Jul 25 00:14:32 UTC 2011
Date: Sunday, July 24, 2011 @ 20:14:32
Author: andrea
Revision: 132609
move pkgbuilds to trunk; cleanup
Added:
kdeedu-ktouch/trunk/PKGBUILD
(from rev 132557, kdeedu-ktouch/kde-unstable/PKGBUILD)
kdeedu-ktouch/trunk/kdeedu-ktouch.install
(from rev 132557, kdeedu-ktouch/kde-unstable/kdeedu-ktouch.install)
-----------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
kdeedu-ktouch.install | 11 +++++++++++
2 files changed, 42 insertions(+)
Copied: kdeedu-ktouch/trunk/PKGBUILD (from rev 132557, kdeedu-ktouch/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2011-07-25 00:14:32 UTC (rev 132609)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=4.7.0
+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/stable/${pkgver}/src/ktouch-${pkgver}.tar.bz2")
+sha1sums=('b310e264e3fe8c96e2ceee233f364ae5cbd38048')
+
+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/trunk/kdeedu-ktouch.install (from rev 132557, kdeedu-ktouch/kde-unstable/kdeedu-ktouch.install)
===================================================================
--- kdeedu-ktouch.install (rev 0)
+++ kdeedu-ktouch.install 2011-07-25 00:14:32 UTC (rev 132609)
@@ -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