# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Lukas Fleischer # Contributor: Jan de Groot pkgbase=adwaita-icon-theme pkgname=(adwaita-icon-theme adwaita-cursors) pkgver=43 pkgrel=2 pkgdesc="GNOME standard icons" url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme" arch=(any) license=(LGPL3 CCPL:by-sa) depends=(hicolor-icon-theme gtk-update-icon-cache librsvg) makedepends=(git gtk3) _commit=3ea65342a846b2b29fe6feedcd13e2ecc5b5c2b2 # tags/43^0 source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit") sha256sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd $pkgname autoreconf -fvi } build() { cd $pkgname ./configure --prefix=/usr make } check() { cd $pkgname make check } package_adwaita-icon-theme() { depends+=(adwaita-cursors) make -C $pkgname DESTDIR="$pkgdir" install mkdir -p cursors/usr/share/icons/Adwaita mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors } package_adwaita-cursors() { pkgdesc="GNOME standard cursors" depends=() mv cursors/* "$pkgdir" } # vim:set sw=2 sts=-1 et: