diff options
Diffstat (limited to 'testing/kmag')
-rw-r--r-- | testing/kmag/APKBUILD | 30 |
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" |