[arch-commits] Commit in gnome-backgrounds/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 25 23:58:45 UTC 2021


    Date: Thursday, March 25, 2021 @ 23:58:45
  Author: heftig
Revision: 411029

40rc-1

Modified:
  gnome-backgrounds/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-25 23:51:41 UTC (rev 411028)
+++ PKGBUILD	2021-03-25 23:58:45 UTC (rev 411029)
@@ -2,7 +2,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-backgrounds
-pkgver=3.38.0
+pkgver=40rc
 pkgrel=1
 pkgdesc="Background images and data for GNOME"
 url="https://gitlab.gnome.org/GNOME/gnome-backgrounds"
@@ -10,11 +10,12 @@
 makedepends=(glib2 meson)
 license=(GPL)
 groups=(gnome)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('f7712a873a80c9a9fcf3952611effeb2d9aed23a3e8abfcda8afb15c427d1ee3')
+_tarver=${pkgver/rc/.rc}
+source=(https://download.gnome.org/sources/$pkgname/${_tarver%%.*}/$pkgname-$_tarver.tar.xz)
+sha256sums=('8d28dacbf17e8fc5cad030ce027398befbfb2c0034ae14a8e6a7af3336fda679')
 
 build() {
-  arch-meson $pkgname-$pkgver build
+  arch-meson $pkgname-$_tarver build
   meson compile -C build
 }
 



More information about the arch-commits mailing list