diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-05 12:46:37 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-05 07:58:09 -0300 |
commit | d2fdf1344d15989a90ac31b7a0e1b33458357944 (patch) | |
tree | 25cab60fb70cb9269a73024fa008beb13ffb9860 /testing/ktouch | |
parent | 4bd64948cd64236848bd3df25226d6771a8c1146 (diff) | |
download | aports-d2fdf1344d15989a90ac31b7a0e1b33458357944.tar.bz2 aports-d2fdf1344d15989a90ac31b7a0e1b33458357944.tar.xz |
testing/ktouch: new aport
Diffstat (limited to 'testing/ktouch')
-rw-r--r-- | testing/ktouch/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/ktouch/APKBUILD b/testing/ktouch/APKBUILD new file mode 100644 index 0000000000..98cdcd6505 --- /dev/null +++ b/testing/ktouch/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ktouch +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="http://edu.kde.org/ktouch/" +pkgdesc="Touch Typing Tutor" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtxmlpatterns-dev qt5-qtx11extras-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdeclarative-dev kdoctools-dev ki18n-dev kitemviews-dev kcmutils-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kiconthemes-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/ktouch-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # No tests + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="fac0072441345fa7a85e70817f9f65e73995628f1f92c0bba9ad28bc996fdd997976df3995578ba5b9d34b494d04fde0be3179161b27ad6fc310282bf238623a ktouch-19.08.0.tar.xz" |