[arch-commits] Commit in ktouch/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 20 08:44:39 UTC 2019


    Date: Tuesday, August 20, 2019 @ 08:44:39
  Author: felixonmars
Revision: 360226

archrelease: copy trunk to testing-x86_64

Added:
  ktouch/repos/testing-x86_64/
  ktouch/repos/testing-x86_64/PKGBUILD
    (from rev 360225, ktouch/trunk/PKGBUILD)

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

Copied: ktouch/repos/testing-x86_64/PKGBUILD (from rev 360225, ktouch/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-08-20 08:44:39 UTC (rev 360226)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ktouch
+pkgver=19.08.0
+pkgrel=1
+pkgdesc="Touch Typing Tutor"
+url="https://kde.org/applications/education/ktouch/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdeedu)
+depends=(kqtquickcharts libxkbfile kcmutils hicolor-icon-theme qt5-quickcontrols2 qt5-graphicaleffects qt5-xmlpatterns)
+makedepends=(extra-cmake-modules kdoctools)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('23ae45be76371fa40aac875551b5de8956a2d2b0980024bd788b8b7835b902ba'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF \
+    -DCOMPILE_QML=OFF # Don't compile QML, it creates a hard dependency on a specific Qt version
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list