aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kmag/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 12:03:00 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:44:06 -0300
commit19c510fb41892b82619ed95f2f27a1b45c147415 (patch)
tree1ae6ff2766fd896841349eba1d8a1c8123e9bf86 /testing/kmag/APKBUILD
parent791148c89f5bc7397f1d302e874f952e33a041d7 (diff)
downloadaports-19c510fb41892b82619ed95f2f27a1b45c147415.tar.gz
aports-19c510fb41892b82619ed95f2f27a1b45c147415.tar.bz2
aports-19c510fb41892b82619ed95f2f27a1b45c147415.tar.xz
testing/kmag: new aport
Diffstat (limited to 'testing/kmag/APKBUILD')
-rw-r--r--testing/kmag/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kmag/APKBUILD b/testing/kmag/APKBUILD
new file mode 100644
index 0000000000..eb73112601
--- /dev/null
+++ b/testing/kmag/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kmag
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/utilities/org.kde.kmag"
+pkgdesc="A screen magnifier"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev kio-dev kxmlgui-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+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="9a548712ce32b853887bd15f6b7f6058ebb2b79aa1fe278bbfb95af35d2e91e172dddf62102ac5dd3f49498052f049ab87125ed9858ad177a9ccb9abcc501251 kmag-19.04.2.tar.xz"