Package Details: whitesur-gtk-theme-git 2025.04.03.r23.gf67de5ae-1

Git Clone URL: https://aur.archlinux.org/whitesur-gtk-theme-git.git (read-only, click to copy)
Package Base: whitesur-gtk-theme-git
Description: MacOS Big Sur like theme for GNOME desktops
Upstream URL: https://github.com/vinceliuice/WhiteSur-gtk-theme
Keywords: big desktops for gnome like macos sur theme
Licenses: GPL
Conflicts: whitesur-gtk-theme
Provides: whitesur-gtk-theme
Submitter: jonathon
Maintainer: AlphaJack (HunabKu, t3pfaffe)
Last Packager: AlphaJack
Votes: 4
Popularity: 0.000000
First Submitted: 2021-09-11 20:22 (UTC)
Last Updated: 2025-05-07 21:42 (UTC)

Dependencies (9)

Required by (4)

Sources (1)

Pinned Comments

AlphaJack commented on 2024-11-02 14:22 (UTC)

@HunabKu Thank you, I updated the PKGBUILD with your fix!

jonathon commented on 2021-09-11 20:23 (UTC)

This package provides the base theme (without tweaks) as configured for the upstream tagged releases.

Latest Comments

1 2 Next › Last »

AlphaJack commented on 2025-05-07 21:43 (UTC)

@t3pfaffe I couldn't fix it with your prepare(), I had to remove the "--libadwaita" flag

@HunabKu Can you retry to install it now?

HunabKu commented on 2025-05-07 09:36 (UTC)

The themes no longer appears on /usr/share/themes/. but it appears with no -git version (whitesur-gtk-theme)

t3pfaffe commented on 2025-04-22 19:28 (UTC) (edited on 2025-04-22 19:40 (UTC) by t3pfaffe)

I've been running into issues updating this pkg, the ./install.sh command complains about --libadwaita being run as root and seemingly soft failing the installation as a result. I had to change the PKGBUILD around to avoid using sudo by adding a prepare() function and stripping any sudo calls from within the ./install.sh script before running it. It appears to have worked, although it's a very hacky solution, so your mileage may vary.

This seems to be a new issue with the installation script, as several issue threads on the matter have popped up over the past day within the upstream repo. I have attached the patch for my changes below, in-case anyone runs into the same problem:

From 5bd28eea8ebba8073c0ccc23288447b34ed3c3a9 Mon Sep 17 00:00:00 2001
From: Tom Pfaffe <t3@pfaffe.me>
Date: Tue, 22 Apr 2025 15:22:52 -0400
Subject: [PATCH] fix: allow --libadwaita under fakeroot by patching install.sh

---
PKGBUILD | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 1c096c1..7388c91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,11 +20,25 @@ provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=(git+$url.git)
-b2sums=('SKIP')
+sha256sums=('SKIP')

pkgver() {
  cd WhiteSur-gtk-theme
-  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --long --tags \
+    | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd WhiteSur-gtk-theme
+
+  # remove any sudo invocations
+  sed -i 's/\bsudo\b//g' install.sh
+
+  # make the libadwaita guard always true
+  sed -i 's/if \[\[ "\$UID" != '\''0'\'' \]\]/if true/' install.sh
+
+  # drop the “do not run --libadwaita as root” prompt
+  sed -i '/prompt -e "Do not run '\''--libadwaita'\'' option with sudo!"/d' install.sh
}

package() {
-- 
2.49.0

HunabKu commented on 2024-11-04 18:51 (UTC)

With pleasure

AlphaJack commented on 2024-11-02 14:22 (UTC)

@HunabKu Thank you, I updated the PKGBUILD with your fix!

HunabKu commented on 2024-08-31 10:52 (UTC) (edited on 2024-08-31 13:35 (UTC) by HunabKu)

Hi, i have this error on the last commit :

ERROR: Unrecognized installation option '--icon'.

ERROR: Unrecognized installation option 'arch'.

Just comment "--icon arch" not works, need to remove it and make on one line :

./install.sh --alt all --theme all --libadwaita --dest "$pkgdir/usr/share/themes"

xiota commented on 2024-08-26 00:23 (UTC) (edited on 2024-11-02 21:40 (UTC) by xiota)

This package installs files to /usr/share/docs. The path should be usr/share/doc (no trailing s). Can confirm path by running pacman -Fl | grep 'usr/share/doc/'

Sharky009 commented on 2024-01-01 10:44 (UTC)

@elamperti Seems pamac has problems with the spinner animation the installer script uses. But that's only a guess because i didn't looked further in it. I noticed it works with yay and that was fine for me.

elamperti commented on 2023-12-29 14:01 (UTC)

@Sharky009 You are right indeed! Tried an update directly from yay and it works. Any clue on why this error happens? This should work regardless of client preferences...

Sharky009 commented on 2023-12-29 09:23 (UTC)

@elamperti and @Tio,

This only happens if you use a client like pamac. If you use yay for example it works very well and as expected.

A tip for the future: Use the graphic client to search something (if that's more comfy to you) and yay to install the things.