aports/community/plasma-workspace-wallpapers/APKBUILD

34 lines
988 B
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-workspace-wallpapers
pkgver=5.27.4.1
pkgrel=0
pkgdesc="Wallpapers for the Plasma Workspace"
arch="noarch !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/plasma-desktop/"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules samurai"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/${pkgver%.*}/plasma-workspace-wallpapers-$pkgver.tar.xz"
options="!check" # No tests available
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
bcb5651ff5f31629465d0d3c78b9253a12cea748c6fb96f5f01eb2e61e852db5aeac1da2472d9c1c4ba98d52bfefa43c1570bc623361afcc59d019f0ce2c6a6e plasma-workspace-wallpapers-5.27.4.1.tar.xz
"