[arch-commits] Commit in (ktouch ktouch/kde-unstable ktouch/kde-unstable/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 18 23:05:15 UTC 2016


    Date: Friday, November 18, 2016 @ 23:05:14
  Author: arojas
Revision: 281273

Add KF5 ktouch

Added:
  ktouch/
  ktouch/kde-unstable/
  ktouch/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: ktouch/kde-unstable/PKGBUILD
===================================================================
--- ktouch/kde-unstable/PKGBUILD	                        (rev 0)
+++ ktouch/kde-unstable/PKGBUILD	2016-11-18 23:05:14 UTC (rev 281273)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktouch
+pkgver=16.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=(kqtquickcharts libxkbfile ktexteditor kcmutils knewstuff hicolor-icon-theme)
+makedepends=(extra-cmake-modules mesa kdoctools python)
+conflicts=(kdeedu-ktouch)
+replaces=(kdeedu-ktouch)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha1sums=('4f51c72bdfc3c504080fe7cef3ce1889bc5eae79'
+          'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list