aports/community/breeze-plymouth/APKBUILD
2024-09-13 07:25:06 +00:00

44 lines
1.2 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-plasma
pkgname=breeze-plymouth
pkgver=6.1.5
pkgrel=0
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
_repo_url="https://invent.kde.org/plasma/breeze-plymouth.git"
source="https://download.kde.org/stable/plasma/$pkgver/breeze-plymouth-$pkgver.tar.xz"
# No tests
options="!check"
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="
5fbae13dd6b44c8120976dae4ab9acac0e92e0da3b1830290e8e93d6c1e56da9567f528f8a4ed6429dbd950d58caec56fa5290f89d498eca8ab4d03170358172 breeze-plymouth-6.1.5.tar.xz
"