# Maintainer: theferdi265 at gmail dot com pkgname=gtk-theme-numix-solarized-git pkgver=20230305.2c5a85b pkgrel=1 pkgdesc="Solarized versions of Numix GTK2 and GTK3 theme, compatible with GTK 3.20" arch=('any') url="https://github.com/Ferdi265/numix-solarized-gtk-theme" license=('GPL3') conflicts=('gtk-theme-numix-solarized') depends=('gtk-engine-murrine') makedepends=('git' 'make' 'sassc' 'glib2' 'inkscape' 'optipng') source=('git+https://github.com/Ferdi265/numix-solarized-gtk-theme.git') md5sums=('SKIP') pkgver() { cd "numix-solarized-gtk-theme" local date=$(date --date "$(git show -s --format=%ci)" +%Y%m%d) local commit=$(git rev-parse --short HEAD) echo $date.$commit } package() { cd "numix-solarized-gtk-theme" pushd colors >/dev/null themes=( *.colors ) popd >/dev/null for theme in ${themes[@]/.colors/}; do make -j1 THEME="$theme" DESTDIR="$pkgdir" install done }