pkgname=hicolor-icon-theme
pkgver=0.17
pkgdesc="Freedesktop.org Hicolor icon theme"
url="https://gitlab.freedesktop.org/xdg/default-icon-theme"
arch=(any)
license=(GPL-2.0-or-later)
makedepends=(meson)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://icon-theme.freedesktop.org/releases/${sources[0]}")
sha512sums=("eca8655930aa7e234f42630041c0053fde067b970fad1f81c55fcd4c5046c03edfdf2ede72a3e78fba2908e7da53e9463d3c5ae12ab9f5ef261e29a49f9c7a8d")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_build() {
  ./configure --prefix=/usr
  make
}

src_install() {
  make DESTDIR="${pkgdir}" install
}

# vim:ft=sh syn=sh et sw=2:
