aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kgeography
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-02 15:06:22 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-02 10:51:25 -0300
commitf2d4c3084334792e4ec1ffa612175ecd4d938b8c (patch)
treecfdf0173890457c61a9cbd4b3ee8531fb7e77819 /testing/kgeography
parent1c555a4c6397c1463198c639fb4b42f8c3592846 (diff)
downloadaports-f2d4c3084334792e4ec1ffa612175ecd4d938b8c.tar.bz2
aports-f2d4c3084334792e4ec1ffa612175ecd4d938b8c.tar.xz
testing/kgeography: new aport
Diffstat (limited to 'testing/kgeography')
-rw-r--r--testing/kgeography/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kgeography/APKBUILD b/testing/kgeography/APKBUILD
new file mode 100644
index 0000000000..f82ab35f6b
--- /dev/null
+++ b/testing/kgeography/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kgeography
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://edu.kde.org/kgeography"
+pkgdesc="Geography Trainer"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kwidgetsaddons-dev kcoreaddons-dev kconfigwidgets-dev ki18n-dev kitemviews-dev kiconthemes-dev kcrash-dev kdoctools-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kgeography-$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="92583c1b7e07b1bb8d99ff1631f7be64c7d63c176d96bb2f72e230a830ec1470b014c32b3d0b8ac34a0666f0aa5b4ad9bb97869e01623f581bc066a46ef5581e kgeography-19.08.0.tar.xz"