pmaports/kde/knotifications/APKBUILD

32 lines
952 B
Text
Raw Normal View History

pkgname=knotifications
pkgver=5.36.0
pkgrel=1
pkgdesc='Abstraction for system notifications'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="phonon-dev kwindowsystem kconfig kcodecs kcoreaddons"
makedepends="extra-cmake-modules qt5-qttools-dev python doxygen phonon-dev dbus-libs qt5-x11extras-dev kwindowsystem kconfig kcodecs kcoreaddons"
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="fdda7947eeb52e3212318daf5d31cd4d3279ed8c6960c344de8c9c23baa24b399127a652f92e7b75b28550b3a985aec849f563d7a572f029e9321e3ad9d55c2b knotifications-5.36.0.tar.xz"