# Maintainer: Mark Wagie # Contributor: Jack Random # Contributor: Michael J. Pento # Contributor: grimi pkgname=matcha-gtk-theme _pkgver=2024-05-01 pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="A flat design theme for GTK 3, GTK 2 and GNOME Shell" arch=('any') url="https://vinceliuice.github.io/theme-matcha.html" license=('GPL-3.0-or-later') makedepends=('setconf') optdepends=('gtk-engine-murrine: GTK2 theme support' 'gtk-engines: GTK2 theme support' 'qogir-icon-theme: Recommended icon theme') options=('!strip') install="$pkgname.install" source=("$pkgname-${_pkgver}.tar.gz::https://github.com/vinceliuice/Matcha-gtk-theme/archive/${_pkgver}.tar.gz") sha256sums=('945856e788cc04fc704c9ab7adb75a936a21a51d38c51c25629097da6af4021b') prepare() { cd "Matcha-gtk-theme-${_pkgver}" # Set GTKSV_DIR to $pkgdir setconf install.sh GTKSV_DIR "$pkgdir/usr/share/gtksourceview-3.0/styles" } package() { cd "Matcha-gtk-theme-${_pkgver}" install -d "$pkgdir/usr/share/themes" ./install.sh -d "$pkgdir/usr/share/themes/" }