Fabian Bornschein pushed to branch main at Arch Linux / Packaging / Packages / 
lightsoff


Commits:
4c6ecaba by Fabian Bornschein at 2024-10-21T12:03:25+02:00
upgpkg: 46.0-2
* Add nvchecker configuration (.nvchecker.toml)
* Use git tag as source
* Add implicitly satisfied dependencies

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = lightsoff
        pkgdesc = Turn off all the lights
        pkgver = 46.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://wiki.gnome.org/Apps/Lightsoff
        arch = x86_64
        groups = gnome-extra
@@ -10,9 +10,13 @@ pkgbase = lightsoff
        makedepends = meson
        makedepends = vala
        makedepends = yelp-tools
+       depends = dconf
+       depends = glib2
+       depends = glibc
        depends = gtk3
+       depends = hicolor-icon-theme
        depends = librsvg
-       source = 
git+https://gitlab.gnome.org/GNOME/lightsoff.git#commit=b383e33570b957b823036b0d7813d4d9d70c1aa8
-       b2sums = SKIP
+       source = git+https://gitlab.gnome.org/GNOME/lightsoff.git#tag=46.0
+       b2sums = 
e1706c329479c65f4e0abbfbd504f54e4ec35f2e991f413cbe3e91c5821883e47f9d6de8aefb1c90d9534c0840b2dacc5a70a7ecfd261012919e4b5d14cbfb8e
 
 pkgname = lightsoff


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[lightsoff]
+source = "git"
+git = "https://gitlab.gnome.org/GNOME/lightsoff.git";
+include_regex = '\d+(\.\d+)*'


=====================================
PKGBUILD
=====================================
@@ -3,13 +3,17 @@
 
 pkgname=lightsoff
 pkgver=46.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Turn off all the lights"
 url="https://wiki.gnome.org/Apps/Lightsoff";
 arch=(x86_64)
 license=(GPL-2.0-or-later)
 depends=(
+  dconf
+  glib2
+  glibc
   gtk3
+  hicolor-icon-theme
   librsvg
 )
 makedepends=(
@@ -19,14 +23,8 @@ makedepends=(
   yelp-tools
 )
 groups=(gnome-extra)
-_commit=b383e33570b957b823036b0d7813d4d9d70c1aa8  # tags/46.0^0
-source=("git+https://gitlab.gnome.org/GNOME/lightsoff.git#commit=$_commit";)
-b2sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
+source=("git+https://gitlab.gnome.org/GNOME/lightsoff.git#tag=${pkgver/[a-z]/.&}";)
+b2sums=('e1706c329479c65f4e0abbfbd504f54e4ec35f2e991f413cbe3e91c5821883e47f9d6de8aefb1c90d9534c0840b2dacc5a70a7ecfd261012919e4b5d14cbfb8e')
 
 prepare() {
   cd $pkgname



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lightsoff/-/commit/4c6ecaba47c3e715132444534de4d62657bb3bc1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lightsoff/-/commit/4c6ecaba47c3e715132444534de4d62657bb3bc1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to