diff --git a/testing/pneink-theme/3-add-theme-colors.patch b/testing/pneink-theme/3-add-theme-colors.patch new file mode 100644 index 00000000000..48128afe643 --- /dev/null +++ b/testing/pneink-theme/3-add-theme-colors.patch @@ -0,0 +1,19 @@ +Patch-Source: https://github.com/PNDeb/PNEink/pull/3 + +diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css +index 77493ac..d847229 100644 +--- a/gtk-3.0/gtk.css ++++ b/gtk-3.0/gtk.css +@@ -1,6 +1,12 @@ + /*@import url("resource:///org/gtk/libgtk/theme/HighContrast/gtk-contained.css");*/ + @define-color text_view_bg #ffffff; + @define-color theme_text_color #000000; ++ ++@define-color theme_fg_color #000000; ++@define-color theme_bg_color #ffffff; ++@define-color theme_selected_fg_color #aaaaaa; ++@define-color theme_selected_bg_color #555555; ++ + window { + background-color: #ffffff; + color: #000000; diff --git a/testing/pneink-theme/APKBUILD b/testing/pneink-theme/APKBUILD new file mode 100644 index 00000000000..c1be9541a05 --- /dev/null +++ b/testing/pneink-theme/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=pneink-theme +pkgver=1.3 +pkgrel=0 +pkgdesc="PNEink is a light, high-contrast theme for the gnome shell, intended for use on EInk displays" +arch="noarch" +license="MIT" +url="https://github.com/PNDeb/PNEink" +builddir="$srcdir"/PNEink-$pkgver +options="!check" # No test suite +subpackages="$pkgname-doc" +source=" + $pkgname-$pkgver.tar.gz::https://github.com/PNDeb/PNEink/archive/refs/tags/v$pkgver.tar.gz + 3-add-theme-colors.patch + " + +package() { + mkdir -p "$pkgdir"/usr/share/themes/PNEink + cp -r common gnome-shell gtk-3.0 "$pkgdir/usr/share/themes/PNEink" + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +sha512sums=" +19e97a841a3a3a94887a45ddf2bd7d52b5faca83053f08550a566c44a05778712ed3b20d11fe8275b2b8a22c07c83f7ea814881b623601c3bf3bac7136058ae6 pneink-theme-1.3.tar.gz +8653cbe9c296b15b91ab38b0b125cf4eff52d561ab630194a3f02144dd07a7c737b5160481144cca5bf720db5913ec79a3a70db82609743bed05d0b7ba6c7f6b 3-add-theme-colors.patch +"