summaryrefslogtreecommitdiff
path: root/user/kig
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 16:57:34 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 16:57:34 -0500
commit822a80eddb96fda331144e03254ccb3a8ad692d4 (patch)
treeed32640849af7a6a7bb0752502f00cb2af5276af /user/kig
parent203f28aa69ccb53d52f1bb1e2baef67b6d46a7fd (diff)
downloadpackages-822a80eddb96fda331144e03254ccb3a8ad692d4.tar.gz
packages-822a80eddb96fda331144e03254ccb3a8ad692d4.tar.bz2
packages-822a80eddb96fda331144e03254ccb3a8ad692d4.tar.xz
packages-822a80eddb96fda331144e03254ccb3a8ad692d4.zip
user/kig: new package
Diffstat (limited to 'user/kig')
-rw-r--r--user/kig/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/kig/APKBUILD b/user/kig/APKBUILD
new file mode 100644
index 000000000..fc2c4cc70
--- /dev/null
+++ b/user/kig/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kig
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Interactive geometry learning and exploration tool"
+url=" https://www.kde.org/applications/education/kig/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kparts-dev
+ qt5-qtxmlpatterns-dev ki18n-dev ktexteditor-dev kiconthemes-dev
+ kconfigwidgets-dev karchive-dev kxmlgui-dev kcrash-dev kcoreaddons-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kig-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3bd9496e17e77ed475e6bb6d28ccb5d2a91dd261ffa7a4b3f8a7d5603b3688ca865da7cf1480411646efcc3a24a1f83bcb5078498ed8534d048b69becc71c653 kig-17.12.2.tar.xz"