[arch-commits] Commit in kdeedu-ktouch/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:15:15 UTC 2015
Date: Friday, April 10, 2015 @ 21:15:14
Author: arojas
Revision: 236121
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeedu-ktouch/repos/staging-i686/
kdeedu-ktouch/repos/staging-i686/PKGBUILD
(from rev 236120, kdeedu-ktouch/trunk/PKGBUILD)
kdeedu-ktouch/repos/staging-i686/kdeedu-ktouch.install
(from rev 236120, kdeedu-ktouch/trunk/kdeedu-ktouch.install)
kdeedu-ktouch/repos/staging-x86_64/
kdeedu-ktouch/repos/staging-x86_64/PKGBUILD
(from rev 236120, kdeedu-ktouch/trunk/PKGBUILD)
kdeedu-ktouch/repos/staging-x86_64/kdeedu-ktouch.install
(from rev 236120, kdeedu-ktouch/trunk/kdeedu-ktouch.install)
--------------------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++
staging-i686/kdeedu-ktouch.install | 11 ++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++
staging-x86_64/kdeedu-ktouch.install | 11 ++++++++++
4 files changed, 92 insertions(+)
Copied: kdeedu-ktouch/repos/staging-i686/PKGBUILD (from rev 236120, kdeedu-ktouch/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:15:14 UTC (rev 236121)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Touch Typing Tutor"
+url="http://kde.org/applications/education/ktouch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdebase-runtime' 'kqtquickcharts' 'libxkbfile')
+makedepends=('cmake' 'automoc4' 'mesa')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ktouch-${pkgver}.tar.xz")
+sha1sums=('11710a4496d437b9ecfa0a0963809dbbe357c21f')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../ktouch-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-ktouch/repos/staging-i686/kdeedu-ktouch.install (from rev 236120, kdeedu-ktouch/trunk/kdeedu-ktouch.install)
===================================================================
--- staging-i686/kdeedu-ktouch.install (rev 0)
+++ staging-i686/kdeedu-ktouch.install 2015-04-10 19:15:14 UTC (rev 236121)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeedu-ktouch/repos/staging-x86_64/PKGBUILD (from rev 236120, kdeedu-ktouch/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:15:14 UTC (rev 236121)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Touch Typing Tutor"
+url="http://kde.org/applications/education/ktouch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdebase-runtime' 'kqtquickcharts' 'libxkbfile')
+makedepends=('cmake' 'automoc4' 'mesa')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ktouch-${pkgver}.tar.xz")
+sha1sums=('11710a4496d437b9ecfa0a0963809dbbe357c21f')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../ktouch-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-ktouch/repos/staging-x86_64/kdeedu-ktouch.install (from rev 236120, kdeedu-ktouch/trunk/kdeedu-ktouch.install)
===================================================================
--- staging-x86_64/kdeedu-ktouch.install (rev 0)
+++ staging-x86_64/kdeedu-ktouch.install 2015-04-10 19:15:14 UTC (rev 236121)
@@ -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