diff options
Diffstat (limited to 'community/kdeplasma-addons')
-rw-r--r-- | community/kdeplasma-addons/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/kdeplasma-addons/APKBUILD b/community/kdeplasma-addons/APKBUILD new file mode 100644 index 0000000000..1489cffa45 --- /dev/null +++ b/community/kdeplasma-addons/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kdeplasma-addons +pkgver=5.16.5 +pkgrel=0 +pkgdesc="All kind of addons to improve your Plasma experience " +arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine +url="https://www.kde.org/workspaces/plasmadesktop/" +license="LGPL-2.0-only AND GPL-2.0-or-later" +depends="purpose" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev karchive-dev + kconfig-dev kcoreaddons-dev kdeclarative-dev kholidays-dev ki18n-dev + kiconthemes-dev kio-dev kcmutils-dev kross-dev knotifications-dev + plasma-framework-dev krunner-dev kservice-dev sonnet-dev kunitconversion-dev + kwindowsystem-dev knewstuff-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} +sha512sums="0bcbff113d71bb33a6542d78a250dacb8eff66c5f8bc84f9ec0055fe74ccb7ad2b5706ef3782e754909c75a95b133f3233b93cd7290d354df1d54dca1401d875 kdeplasma-addons-5.16.5.tar.xz" |