# Description: Adwaita Icon Theme
# URL: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends On: gtk3 hicolor-icon-theme librsvg

name=adwaita-icon-theme
version=46.0
release=1
source=(https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/archive/$version/$name-$version.tar.bz2)

build() {
	meson setup $name-$version build \
		--prefix=/usr \
		--buildtype=plain \
		--wrap-mode nodownload \
		-D b_lto=true \
		-D b_pie=true

	meson compile -C build
	DESTDIR=$PKG meson install -C build

	rm -rf $PKG/usr/share/licenses
}
