aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-02 11:34:33 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-03 08:50:06 -0300
commit38c4fbdb7eea2e7f0bf8dc94f86878daa7417f12 (patch)
treefe37e470f0d180d56affa1b6d2810e56a2f74249 /community
parentf6da57f1dd20d8509745bb5cf1413b78d9a8011d (diff)
downloadaports-38c4fbdb7eea2e7f0bf8dc94f86878daa7417f12.tar.bz2
aports-38c4fbdb7eea2e7f0bf8dc94f86878daa7417f12.tar.xz
community/kiten: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/kiten/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kiten/APKBUILD b/community/kiten/APKBUILD
new file mode 100644
index 0000000000..7c640327a1
--- /dev/null
+++ b/community/kiten/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kiten
+pkgver=19.12.2
+pkgrel=1
+arch="all !armhf"
+url="https://edu.kde.org/kiten/"
+pkgdesc="Japanese Reference/Study Tool"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev khtml-dev knotifications-dev kxmlgui-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kiten-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
+options="!check" # No tests
+
+build() {
+ cmake -B "$builddir"/build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+}
+
+sha512sums="f12e75f378fee504ce7e2ac17f52fc9564b23fd0961e29985236134ec61c16671078ce1136448fdc18a0f6858ccd9690085020de6a991571f8c28822c41ef11c kiten-19.12.2.tar.xz"