maintainer="Aster Boese <asterboese@mailbox.org>"
pkgname=pop-icon-theme
pkgver=3.5.1
pkgrel=0
pkgdesc="System76 Pop icon theme for Linux"
url="https://github.com/pop-os/icon-theme"
arch="noarch"
license="CC-BY-SA-4.0 AND GPL-3.0-only"
makedepends="meson samurai"
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/icon-theme/archive/refs/tags/v$pkgver.tar.gz"
subpackages="pop-cursor-theme:_cursor"
builddir="$srcdir/icon-theme-$pkgver"
options="!check" # No tests

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

_cursor() {
	pkgdesc="System76 Pop icon theme for Linux (cursors)"

	amove usr/share/icons/Pop/cursors
}

sha512sums="
5e2867bbd04472620997ba376eed85f06f3b7cd7126fe524d3b27d874cf7648da1cb3ffaa2833e0544857d587727d087a2fdb2fa2fa616974904c99820432896  pop-icon-theme-3.5.1.tar.gz
"
