Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / gnome-calculator


Commits:
e6217896 by Jan Alexander Steffens (heftig) at 2024-05-06T16:10:32+02:00
46.1-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = gnome-calculator
        pkgdesc = GNOME Scientific calculator
-       pkgver = 46.0
+       pkgver = 46.1
        pkgrel = 1
        url = https://wiki.gnome.org/Apps/Calculator
        arch = x86_64
@@ -25,7 +25,7 @@ pkgbase = gnome-calculator
        depends = mpfr
        provides = libgcalc-2.so
        provides = libgci-1.so
-       source = 
git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#commit=9ca2245ca3f58007d79da785ebf44d54ce0d1ff6
-       b2sums = SKIP
+       source = 
git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#tag=46.1
+       b2sums = 
3507d35c82c9734cd9e114c01504354aa23af32d7348fe9aec1200fc9b3eea52f3e5ac2cb0a5ba3dd063663c5481aeb68b1765a5de4fdb371e3461d9b0f27a39
 
 pkgname = gnome-calculator


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <j...@archlinux.org>
 
 pkgname=gnome-calculator
-pkgver=46.0
+pkgver=46.1
 pkgrel=1
 pkgdesc="GNOME Scientific calculator"
 url="https://wiki.gnome.org/Apps/Calculator";
@@ -35,14 +35,8 @@ provides=(
   libgci-1.so
 )
 groups=(gnome)
-_commit=9ca2245ca3f58007d79da785ebf44d54ce0d1ff6  # tags/46.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#commit=$_commit";)
-b2sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed -r 
's/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
-}
+source=("git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#tag=${pkgver/[a-z]/.&}";)
+b2sums=('3507d35c82c9734cd9e114c01504354aa23af32d7348fe9aec1200fc9b3eea52f3e5ac2cb0a5ba3dd063663c5481aeb68b1765a5de4fdb371e3461d9b0f27a39')
 
 build() {
   arch-meson $pkgname build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-calculator/-/commit/e6217896e4f736648053eeba1e87b044453bde17

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


Reply via email to