Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
gnome-tour


Commits:
41be8758 by Balló György at 2024-04-22T10:25:16+02:00
Use tag pinning

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -16,7 +16,7 @@ pkgbase = gnome-tour
        depends = gtk4
        depends = hicolor-icon-theme
        depends = libadwaita
-       source = 
git+https://gitlab.gnome.org/GNOME/gnome-tour.git#commit=3c2afb0773356a4d59c2400cd7bed0a0ed39ff4a
-       b2sums = SKIP
+       source = git+https://gitlab.gnome.org/GNOME/gnome-tour.git#tag=46.0
+       b2sums = 
98f2a6a2f027a59de6f5b2d55b7b4738654558758b21903dd92c2291fd22316f46e8e21ee325756fa7bc7b52d592e1f2a00b8c9298360b87be4535725a8ac26b
 
 pkgname = gnome-tour


=====================================
PKGBUILD
=====================================
@@ -11,9 +11,8 @@ license=('GPL-3.0-or-later')
 depends=('gcc-libs' 'glib2' 'glibc' 'gtk4' 'hicolor-icon-theme' 'libadwaita')
 makedepends=('appstream-glib' 'git' 'meson' 'rust')
 groups=('gnome')
-_commit=3c2afb0773356a4d59c2400cd7bed0a0ed39ff4a  # tags/46.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-tour.git#commit=$_commit";)
-b2sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/gnome-tour.git#tag=${pkgver/[a-z]/.&}";)
+b2sums=('98f2a6a2f027a59de6f5b2d55b7b4738654558758b21903dd92c2291fd22316f46e8e21ee325756fa7bc7b52d592e1f2a00b8c9298360b87be4535725a8ac26b')
 
 # Use LTO
 export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
@@ -21,11 +20,6 @@ export CARGO_PROFILE_RELEASE_LTO=true 
CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
 # Use debug
 export CARGO_PROFILE_RELEASE_DEBUG=2
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed -r 
's/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
-}
-
 build() {
   arch-meson $pkgname build
   meson compile -C build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-tour/-/commit/41be8758ef08c12cf497ccc3abf4d84c67e2ad2f

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-tour/-/commit/41be8758ef08c12cf497ccc3abf4d84c67e2ad2f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to