aboutsummaryrefslogtreecommitdiffstats
path: root/community/oxygen-icons/APKBUILD
blob: eed9961d1fed7d7947b21c43ad1e6d76fa3403e3 (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
31
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=oxygen-icons
_pkgname=oxygen-icons5
pkgver=5.79.0
pkgrel=0
arch="noarch !armhf" # # armhf blocked by extra-cmake-modules
pkgdesc="Oxygen icon theme"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
makedepends="$depends_dev extra-cmake-modules fdupes qt5-qtbase-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/oxygen-icons5-$pkgver.tar.xz"
builddir="$srcdir/$_pkgname-$pkgver"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="c33265aa5371b3e5477c6c37d847ddf87299db711c48ae7f72ded9e9add0fdaa354d8ae0bbd5df82160aba64004e592da1bdfa98603ba60c3956cd829d5ebb41  oxygen-icons5-5.79.0.tar.xz"