pmaports/kde/knotifications/APKBUILD
PureTryOut 689b8e4fec Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00

33 lines
974 B
Text

pkgname=knotifications
pkgver=5.37.0
pkgrel=1
pkgdesc='Abstraction for system notifications'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev python doxygen phonon-dev dbus-libs qt5-x11extras-dev
kwindowsystem-dev kconfig-dev kcodecs-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 \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="3b08faf67d705233e98ff5e6cacdb6983134942f1ea5bb8cac43ecfe7b15aac987702cf635dd8dc3e45047e5069bb3fcd39c9745ac4bf414bb33f69336013644 knotifications-5.37.0.tar.xz"