pmaports/kde/kglobalaccel/APKBUILD

32 lines
840 B
Text
Raw Normal View History

pkgname=kglobalaccel
pkgver=5.36.0
pkgrel=1
pkgdesc='Add support for global workspace shortcuts'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kdbusaddons kconfig kcrash"
makedepends="extra-cmake-modules doxygen qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
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 \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="6a0916af3d2d5378fd97d93dcd4fe1f11ee0b4e8797a8f191aa424c1ea28c8c5844618e65128c9d9f3a3ddc8a4cd6e3bd83dd18d36603eb8c45eca69f4be8e3c kglobalaccel-5.36.0.tar.xz"