# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=numix-icon-theme
pkgver=23.01.12
pkgrel=0
pkgdesc="Official icon theme from the Numix project"
url="https://numixproject.github.io/"
arch="noarch"
license="GPL-3.0-only"
subpackages="$pkgname-light"
source="$pkgname-$pkgver.tar.gz::https://github.com/numixproject/numix-icon-theme/archive/$pkgver/numix-icon-theme-$pkgver.tar.gz"
options="!check" # No code so no tests

package() {
	mkdir -p "$pkgdir"/usr/share/icons
	mv "$builddir"/Numix "$pkgdir"/usr/share/icons/
}

light() {
	pkgdesc="$pkgdesc (Light version)"

	mkdir -p "$subpkgdir"/usr/share/icons
	mv "$builddir"/Numix-Light "$subpkgdir"/usr/share/icons/
}

sha512sums="
a2da05e426561c6448ed07546da4d7c7b8f1fe06bb1ec6fc14bbb858acde88a7e8169e2951ee5d5572242101c8fbeba3ea262163fa6a511c6dcebee9e6a2d7fb  numix-icon-theme-23.01.12.tar.gz
"
