# Contributor: Bart Ribbers <bribbers@disroot.org>

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-other
maintainer="team/kde <bribbers@disroot.org>"
pkgname=oxygen-icons
pkgver=6.1.0
pkgrel=0
pkgdesc="Oxygen icon theme"
arch="noarch"
url="https://invent.kde.org/frameworks/oxygen-icons"
license="LGPL-2.1-or-later"
makedepends="
	extra-cmake-modules
	qt6-qttools-dev
	samurai
	"
_repo_url="https://invent.kde.org/frameworks/oxygen-icons.git"
source="https://download.kde.org/stable/oxygen-icons/oxygen-icons-$pkgver.tar.xz"
options="!check" # No code to test

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

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

sha512sums="
e78d773c469c2bafbfb7da57fc10ebd0611999160a7fc1295449aae8bcdd83a29adf3451529f4c4f2628e7b67b5f1cb6af4fae19942624408ead9f2bb70c4fd9  oxygen-icons-6.1.0.tar.xz
"
