aboutsummaryrefslogtreecommitdiffstats
path: root/community/breeze-icons/APKBUILD
blob: 87fff89d706052e95a0aabba64011f0300dc7e38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=breeze-icons
pkgver=5.78.0
pkgrel=0
pkgdesc="Breeze icon themes"
arch="noarch !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-3.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev"
checkdepends="bash"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/breeze-icons-$pkgver.tar.xz"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBINARY_ICONS_RESOURCE=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(dupe|symlink)'
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="e802abf2cfb56772dfa8911086f70e0c326294671da44ad9473acfc5a185e38d94609fdd2eb27f18ad3a17dfcd63b47a00e4890aefb42c61b9dac309165983ef  breeze-icons-5.78.0.tar.xz"