Skip to content
Snippets Groups Projects
Commit 95a7ff4e authored by Mark Wagie's avatar Mark Wagie
Browse files

[pkg-upd] 20230403-1

parent 6e5d3c6c
Branches
No related merge requests found
Pipeline #11144 failed with stage
in 1 minute and 15 seconds
......@@ -2,8 +2,7 @@
# Maintainer: Mark Wagie <mark@manjaro.org>
pkgname=matcha-gtk-theme
_pkgname=Matcha-gtk-theme
pkgver=20221115
pkgver=20230403
pkgrel=1
pkgdesc="A flat design themes for GNOME, MATE, Openbox, Unity, XFCE, Budgie"
arch=('any')
......@@ -14,23 +13,21 @@ optdepends=('gtk-engine-murrine: GTK2 theme support'
'gtk-engines: GTK2 theme support')
options=('!strip')
install="$pkgname.install"
_commit=c09c20a6afb62185c0708f896404d8866e64d555 # tags/2022-11-15
_commit=f6eebf60c79bb70ad9fa0e4c89ae05222f6701ba # tags/2023-04-03^0
source=("git+https://github.com/vinceliuice/Matcha-gtk-theme.git#commit=$_commit")
sha256sums=('SKIP')
#pkgver() {
# date +%Y%m%d
#}
pkgver() {
cd "$srcdir/Matcha-gtk-theme"
printf "$(git show -s --format=%cd --date=format:%Y%m%d HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
install -d "${pkgdir}/usr/share/themes"
./install.sh -d "${pkgdir}/usr/share/themes/"
# Plank theme
install -Dm644 src/plank/dock.theme -t "$pkgdir/usr/share/plank/themes/Matcha/"
cd "$srcdir/Matcha-gtk-theme"
install -d "$pkgdir/usr/share/themes"
./install.sh -d "$pkgdir/usr/share/themes/"
# Firefox & Gedit theme
install -d "$pkgdir/usr/share/doc/$pkgname"
cp -r src/extra/* "$pkgdir/usr/share/doc/$pkgname/"
# Install script fails to honor dest DIR for GTKSV_DIR, install files manually
install -Dm644 src/extra/gtksourceview/*.xml -t \
"$pkgdir/usr/share/gtksourceview-3.0/styles/"
}
post_install() {
echo ""
echo "Firefox theme"
echo "See /usr/share/doc/matcha-gtk-theme/firefox/README.md"
echo "To force Libadwaita appliations to use the gtk-4.0 theme,"
echo "symlink the gtk-4.0 theme to config folder"
echo "(replace Matcha-dark-sea with chosen theme variant):"
echo ""
echo "Gedit theme"
echo "See /usr/share/doc/matcha-gtk-theme/gedit/README.md"
echo "mkdir -p ~/.config/gtk-4.0/"
echo "ln -sf /usr/share/themes/Matcha-dark-sea/gtk-4.0/{assets,gtk.css,gtk-dark.css} ~/.config/gtk-4.0/"
echo ""
}
post_upgrade() {
post_install
post_install
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment