aboutsummaryrefslogtreecommitdiffstats
path: root/community/kmag/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-11 13:15:49 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-15 15:42:46 +0100
commitdc9617ecddac979239dbd1743e70a81743f77f62 (patch)
treec2ce5e0b2958dab18c152dbb7c37edd3c7e643dc /community/kmag/APKBUILD
parente284ee4af8b2ebe9699a7125205be34db120bfc3 (diff)
downloadaports-dc9617ecddac979239dbd1743e70a81743f77f62.tar.gz
aports-dc9617ecddac979239dbd1743e70a81743f77f62.tar.bz2
aports-dc9617ecddac979239dbd1743e70a81743f77f62.tar.xz
{community,testing}/kde-applications: upgrade to 19.12.3
Diffstat (limited to 'community/kmag/APKBUILD')
-rw-r--r--community/kmag/APKBUILD22
1 files changed, 7 insertions, 15 deletions
diff --git a/community/kmag/APKBUILD b/community/kmag/APKBUILD
index 9fa55f6b12..1c5d05df5a 100644
--- a/community/kmag/APKBUILD
+++ b/community/kmag/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmag
-pkgver=19.12.2
-pkgrel=1
+pkgver=19.12.3
+pkgrel=0
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/utilities/org.kde.kmag"
pkgdesc="A screen magnifier"
@@ -11,29 +11,21 @@ makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev kio-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" \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ make -C build
}
check() {
- cd "$builddir"/build
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" make -C build install
}
-sha512sums="9c8161e63b064d6c52b64a3e770c40c7acd45c357ff886ce7934d0b725b7f6e9d19ab9950a773871522be460f3f8bbde09ca67fca57ff7e1568f9874d7e933ed kmag-19.12.2.tar.xz"
+sha512sums="6f3dc983be2efe249e77b30429d4fb01f7b9c28552c56db27c1906de0312f1071658b9bc5fa9c5b5de35df54d7d50e9f1f540eec13cb40255b1ea9441db5afe3 kmag-19.12.3.tar.xz"