diff options
author | Simone Gaiarin | 2016-09-07 13:05:48 +0200 |
---|---|---|
committer | Simone Gaiarin | 2016-09-07 13:05:48 +0200 |
commit | f9d860893c6d6749b18a79234523337e62367cba (patch) | |
tree | 8fc7956e0b39f9b93257667395a4a2c716400aeb /PKGBUILD | |
download | aur-f9d860893c6d6749b18a79234523337e62367cba.tar.gz |
Initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8a726c459327 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Simone Gaiarin <simgunz@gmail.com> +# Contributor: Simone Gaiarin <simgunz@gmail.com> + +pkgname=kdeedu-ktouch-patched +pkgver=16.08.0 +pkgrel=1 +pkgdesc="Touch Typing Tutor - Patched to fix bugs #350336, #346248 and #367891, #364011 (disable layout autodetect)" +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') +conflicts=('kdeedu-ktouch') +source=("http://download.kde.org/stable/applications/${pkgver}/src/ktouch-${pkgver}.tar.xz" + 'fix-lag.patch::https://bugsfiles.kde.org/attachment.cgi?id=93186' + 'nox11.patch') +sha1sums=('af8c32c33c9e3a5cf017d76497e94514a40d4f65' + 'd066e0ee7d0dc95c63afe9469bf6a0a975bf18d2' + 'ace197b951d64afa71c3bd8d815e5d1f970a44bc') + +prepare() { + mkdir -p build + cd ktouch-${pkgver} + patch -p1 -i ../fix-lag.patch + patch -p0 -i ../nox11.patch +} + +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 +} |