aports/community/breeze-plymouth/APKBUILD
2023-05-10 11:01:24 +02:00

39 lines
1.0 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=breeze-plymouth
pkgver=5.27.5
pkgrel=1
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/"
pkgdesc="Breeze theme for Plymouth"
license="GPL-2.0-or-later"
makedepends="
extra-cmake-modules
plymouth-dev
samurai
"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-plymouth-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDISTRO_NAME="$(grep PRETTY_NAME /etc/os-release | awk -F = '{ print $2 }')" \
-DDISTRO_VERSION="$(grep VERSION_ID /etc/os-release | awk -F = '{ print $2 }')"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
88fb6539b90b81ee1e8e5e71b6a477f417aef52995f6953ec38bbccaf66a2dd575cb63e50689ab68b65d527e3342fdd5835e5eb4110cb39cf5e8221089992c9b breeze-plymouth-5.27.5.tar.xz
"