APKBUILD 1.03 KB
Newer Older
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=breeze-plymouth
4
pkgver=5.21.5
5
pkgrel=0
6
arch="all !armhf" # armhf blocked by extra-cmake-modules
7 8 9 10
url="https://kde.org/"
pkgdesc="Breeze theme for Plymouth"
license="GPL-2.0-or-later"
depends="plymouth"
11 12 13 14 15 16 17 18 19 20
makedepends="
	extra-cmake-modules
	plymouth-dev
	"

case "$pkgver" in
	*.90*) _rel=unstable;;
	*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-plymouth-$pkgver.tar.xz"
21 22
options="!check" # No tests

23
build() {
24
	cmake -B build \
25
		-DCMAKE_BUILD_TYPE=None \
26
		-DCMAKE_INSTALL_PREFIX=/usr \
27 28
		-DDISTRO_NAME="$(grep PRETTY_NAME /etc/os-release | awk -F  = '{ print $2 }')" \
		-DDISTRO_VERSION="$(grep VERSION_ID /etc/os-release | awk -F  = '{ print $2 }')"
29
	cmake --build build
30 31 32
}

package() {
33
	DESTDIR="$pkgdir" cmake --install build
34 35
}

36 37 38
sha512sums="
7b562a9b86baf4f362e3cd97722bbe3940be4232910e68ff1f029f2de5d1e362d930dde03a3adbed738bda559f9f6b5b812ae7e1451a145edc37e60b5af66285  breeze-plymouth-5.21.5.tar.xz
"