Date: Tuesday, February 14, 2023 @ 22:05:49
  Author: heftig
Revision: 1400501

43.3-1

Modified:
  gnome-boxes/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-14 22:04:36 UTC (rev 1400500)
+++ PKGBUILD    2023-02-14 22:05:49 UTC (rev 1400501)
@@ -32,13 +32,19 @@
   'spice-protocol'
   'vala'
   'yelp-tools'
-)
+ git)
 groups=('gnome-extra')
-source=("https://download.gnome.org/sources/$pkgname/${pkgver%%.*}/$pkgname-$pkgver.tar.xz";)
-sha256sums=('eedbbaf580d9b82db4be657b93bcee5f38a87b785270fc4955c0bf38622ced93')
+_commit=6b62dbaef31b6a30fa85db647af087575dcd483a  # tags/43.3^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-boxes.git#commit=$_commit";)
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
 build() {
-  arch-meson $pkgname-$pkgver build
+  arch-meson $pkgname build
   meson compile -C build
 }
 

Reply via email to