# Maintainer: Jesus E. _pkgname=icon-theme-nuovext pkgname=nuovext-icon-theme pkgver=0.1.1 pkgrel=1 pkgdesc="nuoveXT2 icon theme" arch=('any') url='https://github.com/redtide/icon-theme-nuovext' license=('LGPL-3') depends=('gnome-icon-theme') install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") sha512sums=('58a0be8ec24d4e3a72f347c25d0fda425389bb8d7228a6786d60cf00aa7ac29e567116ce328cf773c7454f7c1eaee8de32271dcc3326ce61f1523d4ff4d4b8b0') prepare() { # add fallback themes cd "$_pkgname-$pkgver" sed -i "s/Inherits=.*/Inherits=gnome,hicolor/" nuoveXT23/index.theme } build() { cd "$_pkgname-$pkgver" ./autogen.sh ./configure --prefix=/usr make } package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir" install # remove questionable data rm -rf "$pkgdir/usr/share/icons/nuoveXT23/extra/" install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" }