aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-06-22 11:31:26 +0200
committerBart Ribbers <bribbers@disroot.org>2021-06-22 09:37:32 +0000
commite077e33c6958dcf49dc2cf7757bb43fa344986a3 (patch)
treed58d10589d855b41196e00c0e00c182ac93b11bb
parent1785e006dd20657cea56c2d3423f526dada86283 (diff)
downloadaports-e077e33c6958dcf49dc2cf7757bb43fa344986a3.tar.gz
aports-e077e33c6958dcf49dc2cf7757bb43fa344986a3.tar.bz2
aports-e077e33c6958dcf49dc2cf7757bb43fa344986a3.tar.xz
community/kdesu: enable -doc subpackage
-rw-r--r--community/kdesu/APKBUILD25
1 files changed, 18 insertions, 7 deletions
diff --git a/community/kdesu/APKBUILD b/community/kdesu/APKBUILD
index ec1926e27e..32493e57b7 100644
--- a/community/kdesu/APKBUILD
+++ b/community/kdesu/APKBUILD
@@ -2,16 +2,26 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdesu
pkgver=5.83.0
-pkgrel=0
+pkgrel=1
pkgdesc="Integration with su for elevated privileges"
-arch="all !armhf" # armhf blocked by extra-cmake-modules
+# armhf blocked by extra-cmake-modules
+arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only"
-depends_dev="kcoreaddons-dev ki18n-dev kservice-dev kpty-dev"
-makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
+depends_dev="
+ kcoreaddons-dev
+ ki18n-dev
+ kpty-dev
+ kservice-dev
+ "
+makedepends="$depends_dev
+ doxygen
+ extra-cmake-modules
+ qt5-qttools-dev
+ "
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdesu-$pkgver.tar.xz"
-subpackages="$pkgname-dev $pkgname-lang"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
# Since the goal of this library is to elevate privileges, suid being needed should be obvious
options="suid"
@@ -19,7 +29,8 @@ build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
cmake --build build
}
@@ -29,7 +40,7 @@ check() {
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
929faff4149ab4b2e707beeff433bd035d9a67a73e01bdba1f5cb706d69c0268689fc4377dc37ca5175243e5f2f0c86f9581ac419fce0bbab16f336e06787d74 kdesu-5.83.0.tar.xz