summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e00d84550d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Jonas Gierer <jonas@gierer.xyz>
+
+pkgname=adwaita-shell-theme
+pkgver=3.32.1
+pkgrel=1
+pkgdesc="GNOME's default shell theme, without any third-party tweaks"
+arch=(any)
+url="https://gitlab.gnome.org/GNOME/gnome-shell/tree/master/data/theme"
+license=(GPL)
+makedepends=('sassc')
+source=("https://gitlab.gnome.org/GNOME/gnome-shell/-/archive/$pkgver/gnome-shell-$pkgver.tar.gz")
+sha256sums=('3d562660a349ae5295a5feaf2283408cf193fb8c84e7822bb5cd29975c44411a')
+
+build() {
+ cd gnome-shell-$pkgver/data/theme
+ find . -type f -print0 | xargs -0 sed -i "s/resource:\/\/\/org\/gnome\/shell\/theme/./g"
+ sassc gnome-shell.scss > gnome-shell.css
+}
+
+package() {
+ cd gnome-shell-$pkgver
+
+ installdir=$pkgdir/usr/share/themes/Adwaita/gnome-shell
+ mkdir -p $installdir
+ cp -r ./data/theme/* $installdir
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}