aboutsummaryrefslogtreecommitdiffstats
path: root/community/kmag/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-25 12:03:43 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-25 12:40:03 +0100
commitab120e1e95cec8bd38a04fc2710a365dde63af6b (patch)
treec2c77841ddf7cb7137d830a235d7440925a63432 /community/kmag/APKBUILD
parent19b21278ec0c44fda97da2ab6bf11f7145aec2a1 (diff)
downloadaports-ab120e1e95cec8bd38a04fc2710a365dde63af6b.tar.bz2
aports-ab120e1e95cec8bd38a04fc2710a365dde63af6b.tar.xz
community/kmag: move from testing
Diffstat (limited to 'community/kmag/APKBUILD')
-rw-r--r--community/kmag/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/kmag/APKBUILD b/community/kmag/APKBUILD
new file mode 100644
index 0000000000..f30c8d689a
--- /dev/null
+++ b/community/kmag/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kmag
+pkgver=19.12.0
+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/release-service/$pkgver/src/kmag-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="991b376115abcb30c766d4821b83fdcac41087ce7b6c9cc27d864a3aa4690f39057654524ae33a1dbd1070054716e1429d65d2d21706ea81fa27a1633b30e411 kmag-19.12.0.tar.xz"