35 lines
793 B
Bash
Executable File
35 lines
793 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kauth'
|
|
release='5'
|
|
version='6.18.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Abstraction to system policy and authentication features'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kauth-${version}.tar.xz")
|
|
depends=(qt6-base kcoreaddons kwindowsystem polkit-qt6)
|
|
makedepends=(extra-cmake-modules qt6-tools doxygen)
|
|
sha256sums=('8c6fee69482e7a3dfcf7eacca9cb6a191ec5d1b09e0a539e1f7d5d76d08403e9')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|
|
|