aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kig
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-02 17:16:37 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-02 12:27:56 -0300
commit2dba7f0a07779dcc87f5b9c57b46e5187b6a3b85 (patch)
tree4509a16cb29b75934b4eb346417e44ab9c81eb5f /testing/kig
parent578d54a2557d20fa1a818973b90bcd19623bd54e (diff)
downloadaports-2dba7f0a07779dcc87f5b9c57b46e5187b6a3b85.tar.bz2
aports-2dba7f0a07779dcc87f5b9c57b46e5187b6a3b85.tar.xz
testing/kig: new aport
Diffstat (limited to 'testing/kig')
-rw-r--r--testing/kig/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kig/APKBUILD b/testing/kig/APKBUILD
new file mode 100644
index 0000000000..69bac046a8
--- /dev/null
+++ b/testing/kig/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kig
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/kig"
+pkgdesc="Interactive Geometry"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kparts-dev kdoctools-dev ki18n-dev ktexteditor-dev kiconthemes-dev kconfigwidgets-dev karchive-dev kxmlgui-dev kcrash-dev kcoreaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kig-$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="b08c5b795b9e570ae0380c04bfeb1dcbc6b670a585ce5dcc70710cc8e914766f57d0561dffb8e6ca69a5a56ef734d41d9e59049340a73034f3f52801597df458 kig-19.08.0.tar.xz"