diff options
-rw-r--r-- | user/knotifyconfig/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/knotifyconfig/APKBUILD b/user/knotifyconfig/APKBUILD new file mode 100644 index 000000000..f76bb30fb --- /dev/null +++ b/user/knotifyconfig/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=knotifyconfig +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Framework for configuring notifications" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # No test suite, despite mentioning testing deps... +depends="" +depends_dev="qt5-qtbase-dev kcompletion-dev kconfig-dev ki18n-dev kio-dev + phonon-dev" +makedepends="$depends_dev cmake extra-cmake-modules gettext-dev python3" +checkdepends="kconfigwidgets-dev knotifications-dev kwidgetsaddons-dev + kxmlgui-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/frameworks/5.38/knotifyconfig-$pkgver.tar.xz" +builddir="$srcdir/knotifyconfig-$pkgver" + +build() { + cd "$builddir" + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="11218be988cd21982e0cffcb268996f2c0cf5ae93da860f29fe286522f78c66eb2abca88dd4cd679fd0ff6fc6c0712d3c1bfaa0d5055954e9dee8df7289af182 knotifyconfig-5.38.0.tar.xz" |