Package Details: gnome-shell-extension-nightthemeswitcher 77-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-nightthemeswitcher.git (read-only, click to copy)
Package Base: gnome-shell-extension-nightthemeswitcher
Description: Automatically toggle your light and dark themes variants
Upstream URL: https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension
Licenses: GPL3
Groups: gnome-shell-extensions
Submitter: igor-dyatlov
Maintainer: igor-dyatlov
Last Packager: igor-dyatlov
Votes: 6
Popularity: 0.75
First Submitted: 2021-09-03 12:52 (UTC)
Last Updated: 2024-04-08 08:19 (UTC)

Latest Comments

daenney commented on 2024-03-26 16:23 (UTC)

This needs an update to work on Gnome Shell 46. Simply bumping the pkgver to 77 seems to do the trick.

Misaka13514 commented on 2024-01-28 05:58 (UTC)

Please follow Arch Linux RFC16: use SPDX license identifier in PKGBUILD.

https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0016-spdx-license-identifiers.rst

escape0707 commented on 2023-05-08 10:40 (UTC) (edited on 2023-05-08 10:48 (UTC) by escape0707)

@HarmfulBreeze You would also need to change depends=('gnome-shell>=1:43') to >=1:44

Edit: Please consider adopting this patch (and adding a .gitignore):

diff --git a/PKGBUILD b/PKGBUILD
index 634b8e3..8a5d3e6 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,19 @@
 # Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>

 pkgname=gnome-shell-extension-nightthemeswitcher
-pkgver=73
+pkgver=74
 pkgrel=1
 pkgdesc="Automatically toggle your light and dark themes variants"
 arch=('any')
 url="https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension"
 license=('GPL3')
 groups=('gnome-shell-extensions')
-depends=('gnome-shell>=1:43')
+depends=('gnome-shell>=1:44')
 makedepends=('git' 'glib2' 'npm' 'meson')
 checkdepends=('reuse' 'eslint')
-_commit=2162fbf05c9c505806adf853c02da1c8ad142cb6  # tags/73^0
-source=($pkgname::git+$url.git#commit=$_commit)
+source=($pkgname::git+$url.git#tag=$pkgver)
 b2sums=('SKIP')

-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
 build() {
   cd $pkgname
   export npm_config_cache="$srcdir/npm_cache"

HarmfulBreeze commented on 2023-05-07 14:18 (UTC)

In the meantime, the following diff can be applied:

diff --git a/PKGBUILD b/PKGBUILD
index 634b8e3..985b4ac 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>

 pkgname=gnome-shell-extension-nightthemeswitcher
-pkgver=73
+pkgver=74
 pkgrel=1
 pkgdesc="Automatically toggle your light and dark themes variants"
 arch=('any')
@@ -11,7 +11,7 @@ groups=('gnome-shell-extensions')
 depends=('gnome-shell>=1:43')
 makedepends=('git' 'glib2' 'npm' 'meson')
 checkdepends=('reuse' 'eslint')
-_commit=2162fbf05c9c505806adf853c02da1c8ad142cb6  # tags/73^0
+_commit=eff03a96755c348d7c6d852fc7f10364e5e2e0d6  # tags/74^0
 source=($pkgname::git+$url.git#commit=$_commit)
 b2sums=('SKIP')

Aftermath commented on 2023-04-14 14:51 (UTC)

This version doesn't support Gnome 44, and the latest version doesn't support Gnome 43 anymore.

yochananmarqos commented on 2022-02-27 16:44 (UTC)

@igor-dyatlov: >=v56 is only compatible with GNOME 42, see the release notes. Please revert back to v55 until GNOME 42 is released.

igor-dyatlov commented on 2021-10-02 21:25 (UTC)

@escape0707: fixed

escape0707 commented on 2021-10-02 15:44 (UTC)

Plus, the dependency gnome-shell>=41 won't work now as gnome-shell is on epoch 1. The correct way to add this restriction is gnome-shell>=1:41.

yochananmarqos commented on 2021-09-05 15:36 (UTC)

FYI, v52 is only for GNOME 41. One will need to stick with v51 on GNOME 40.