summaryrefslogtreecommitdiff
path: root/extra/kdeedu-ktouch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-15 04:04:05 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-15 04:04:05 +0000
commit8cd8534c45f14c6dfea3f1f2228451d192c33b3e (patch)
tree8dc070d5ca8ecdac8bb23a37b793ecf92893c227 /extra/kdeedu-ktouch
parent4d799458274f83bcf13d49715eaa435045a719d7 (diff)
Sat Mar 15 03:58:34 UTC 2014
Diffstat (limited to 'extra/kdeedu-ktouch')
-rw-r--r--extra/kdeedu-ktouch/PKGBUILD21
-rw-r--r--extra/kdeedu-ktouch/slovenian.patch22
2 files changed, 36 insertions, 7 deletions
diff --git a/extra/kdeedu-ktouch/PKGBUILD b/extra/kdeedu-ktouch/PKGBUILD
index 12605276b..653d1b433 100644
--- a/extra/kdeedu-ktouch/PKGBUILD
+++ b/extra/kdeedu-ktouch/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 206991 2014-03-06 12:06:41Z andrea $
+# $Id: PKGBUILD 207746 2014-03-14 08:20:40Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeedu-ktouch
pkgver=4.12.3
-pkgrel=1
+pkgrel=2
pkgdesc="Touch Typing Tutor"
url="http://kde.org/applications/education/ktouch/"
arch=('i686' 'x86_64')
@@ -12,12 +12,19 @@ groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'mesa')
install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/ktouch-${pkgver}.tar.xz")
-sha1sums=('1fa7b166fe47d9895758417e717859625a043f0f')
+source=("http://download.kde.org/stable/${pkgver}/src/ktouch-${pkgver}.tar.xz"
+ 'slovenian.patch')
+sha1sums=('1fa7b166fe47d9895758417e717859625a043f0f'
+ '8bc82fae5ae871253bc11c4778884966d6d4b58a')
-build() {
- cd "${srcdir}"
+prepare() {
mkdir build
+
+ cd ktouch-${pkgver}
+ patch -p1 -i "${srcdir}"/slovenian.patch
+}
+
+build() {
cd build
cmake ../ktouch-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
@@ -27,6 +34,6 @@ build() {
}
package() {
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
}
diff --git a/extra/kdeedu-ktouch/slovenian.patch b/extra/kdeedu-ktouch/slovenian.patch
new file mode 100644
index 000000000..b64f640c6
--- /dev/null
+++ b/extra/kdeedu-ktouch/slovenian.patch
@@ -0,0 +1,22 @@
+commit e787d72ada78a1dac1654c4d3d530f50334e7846
+Author: Sebastian Gottfried <sebastiangottfried@web.de>
+Date: Mon Mar 10 11:51:31 2014 +0100
+
+ data: remove an untypable charaber from the Slovanian course
+
+ BUG: 331945
+ FIXED-IN: 4.12.4
+
+diff --git a/data/courses/si.xml b/data/courses/si.xml
+index fc5f3c2..07feeb1 100644
+--- a/data/courses/si.xml
++++ b/data/courses/si.xml
+@@ -201,7 +201,7 @@ odejo ne&#x10D;kinjin na&#x10D;&#x10D;ajo oljili oskalek
+ naslednika na&#x10D;njajo&#x10D; noska oson&#x10D;a neodlo&#x10D;i&#x10D;ne
+ nalijejo neolikank nanos oslinjeni ni&#x10D;li
+ ojekleni nenadni ondi nadela neonkine okajen
+-ni&#x10D;a nasekala naslada one&#x10D;dena neonka neidili&#xFFFD;n
++ni&#x10D;a nasekala naslada one&#x10D;dena neonka neidilin
+ nasi&#x10D;nje na&#x10D;ne odsko&#x10D;le na&#x10D;kana osedlalo
+ naslonijo oken&#x10D;a naslonilo okisalo odnosni
+ naseljenkina odlo&#x10D;la nasilnik nedojena nenaklonjeni