summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gierer2019-05-02 16:58:28 +0200
committerJonas Gierer2019-05-02 16:58:28 +0200
commit3adc52d92045853b05511d39a6d0446d2f4fa8ba (patch)
treed5b0a2eb32249d04123ad004183b0bd6d26136ae
downloadaur-3adc52d92045853b05511d39a6d0446d2f4fa8ba.tar.gz
v3.32.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c989930e2b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = adwaita-shell-theme
+ pkgdesc = GNOME's default shell theme, without any third-party tweaks
+ pkgver = 3.32.1
+ pkgrel = 1
+ url = https://gitlab.gnome.org/GNOME/gnome-shell/tree/master/data/theme
+ arch = any
+ license = GPL
+ makedepends = sassc
+ source = https://gitlab.gnome.org/GNOME/gnome-shell/-/archive/3.32.1/gnome-shell-3.32.1.tar.gz
+ sha256sums = 3d562660a349ae5295a5feaf2283408cf193fb8c84e7822bb5cd29975c44411a
+
+pkgname = adwaita-shell-theme
+
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"
+}