ADD puki themes

This commit is contained in:
Nathan Dwarshuis 2021-07-04 15:58:46 -04:00
parent 98c4807fc9
commit 7882fedd46
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# zuki themes with purple instead of blue trim colors
pkgname=puki-themes
_pkgname=zuki-themes
pkgver=3.38_1
pkgrel=1
pkgdesc="Zuki themes...but purple"
arch=('any')
url="https://github.com/lassekongo83/zuki-themes"
license=(GPL3)
depends=(gtk-engine-murrine gtk-engines)
makedepends=(ninja meson sassc)
optdepends=(ttf-roboto)
source=("$_pkgname-$pkgver.tar.gz::https://github.com/lassekongo83/zuki-themes/archive/v${pkgver//_/-}.tar.gz")
sha256sums=('a3923b169cd550fffc437cf5f098b8a1f84ab0cad5c07b1b6fa25b0e80439893')
prepare() {
cd $_pkgname-${pkgver//_/-}
# tiny tina says: make it rain (purple)!!!
sed -i 's/Zuki/Puki/' meson.build
# TODO add gtk4 path when available
sed -i 's/#4a79c7/#7f66ff/' gtk/src/Zukitre/gtk-3.0/_colors.scss
sed -i 's/#4a79c7/#7f66ff/' gtk/src/Zukitre/gtk-2.0/gtkrc
find gtk/src/Zuki*/gtk-2.0/assets -type f \
\( \
-name "*-unchecked-hover.png" -o \
-name "*-checked.png" -o \
-name "*-mixed.png" \
\) \
-exec convert {} -define modulate:colorspace=HSB \
-modulate 128.2,99.5,118.11 {} \;
}
build() {
cd $_pkgname-${pkgver//_/-}
meson --prefix /usr --buildtype=plain build
ninja -C build
}
package(){
cd $_pkgname-${pkgver//_/-}
DESTDIR="$pkgdir" ninja -C build install
}

View File

@ -0,0 +1,19 @@
pkgbase = zuki-themes
pkgdesc = Zuki themes for GNOME, Xfce and more.
pkgver = 3.36_4
pkgrel = 1
url = https://github.com/lassekongo83/zuki-themes
arch = any
license = GPL3
makedepends = ninja
makedepends = meson
makedepends = sassc
depends = gtk-engine-murrine
depends = gtk-engines
optdepends = ttf-roboto
conflicts = zukitwo-themes-git
source = zuki-themes-3.36_4.tar.gz::https://github.com/lassekongo83/zuki-themes/archive/v3.36-4.tar.gz
sha256sums = 5416e966e69c3e7ab6573e7a4315633b5275fce848ded40abee443174404f661
pkgname = zuki-themes