[arch-commits] Commit in kdeedu-ktouch/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 20:55:19 UTC 2015
Date: Thursday, November 19, 2015 @ 21:55:18
Author: arojas
Revision: 251326
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
kdeedu-ktouch/repos/staging-i686/
kdeedu-ktouch/repos/staging-i686/PKGBUILD
(from rev 251325, kdeedu-ktouch/kde-unstable/PKGBUILD)
kdeedu-ktouch/repos/staging-i686/kdeedu-ktouch.install
(from rev 251325, kdeedu-ktouch/kde-unstable/kdeedu-ktouch.install)
kdeedu-ktouch/repos/staging-x86_64/
kdeedu-ktouch/repos/staging-x86_64/PKGBUILD
(from rev 251325, kdeedu-ktouch/kde-unstable/PKGBUILD)
kdeedu-ktouch/repos/staging-x86_64/kdeedu-ktouch.install
(from rev 251325, kdeedu-ktouch/kde-unstable/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 251325, kdeedu-ktouch/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-11-19 20:55:18 UTC (rev 251326)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=15.11.80
+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/unstable/applications/${pkgver}/src/ktouch-${pkgver}.tar.xz")
+sha1sums=('e77c82c9b22a2d687aa4700398f651ecd523391e')
+
+prepare() {
+ mkdir -p 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 251325, kdeedu-ktouch/kde-unstable/kdeedu-ktouch.install)
===================================================================
--- staging-i686/kdeedu-ktouch.install (rev 0)
+++ staging-i686/kdeedu-ktouch.install 2015-11-19 20:55:18 UTC (rev 251326)
@@ -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 251325, kdeedu-ktouch/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-11-19 20:55:18 UTC (rev 251326)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-ktouch
+pkgver=15.11.80
+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/unstable/applications/${pkgver}/src/ktouch-${pkgver}.tar.xz")
+sha1sums=('e77c82c9b22a2d687aa4700398f651ecd523391e')
+
+prepare() {
+ mkdir -p 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 251325, kdeedu-ktouch/kde-unstable/kdeedu-ktouch.install)
===================================================================
--- staging-x86_64/kdeedu-ktouch.install (rev 0)
+++ staging-x86_64/kdeedu-ktouch.install 2015-11-19 20:55:18 UTC (rev 251326)
@@ -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