689b8e4fec
* Added all missing makedepends, and removed some optional dependencies * Made dbus-nox11-libs properly replace dbus-x11 * Add missing breeze-dev subpackage
33 lines
956 B
Text
33 lines
956 B
Text
pkgname=kauth
|
|
pkgver=5.37.0
|
|
pkgrel=1
|
|
pkgdesc='Abstraction to system policy and authentication features'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL"
|
|
depends="polkit-qt5"
|
|
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 doxygen polkit-qt5-dev kcoreaddons-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
prepare() {
|
|
mkdir -p $srcdir/build
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/build
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="b97956d8360035102c9ba489806720263a0abebc06dac0b9121377030bbc16deff96cbcdfacbd1d91a6d3bd4bc868dab068a5f833bd437669b929315450eb44a kauth-5.37.0.tar.xz"
|