Date: Monday, May 1, 2023 @ 20:36:12
  Author: heftig
Revision: 476228

3.38.2-2: FS#70517 fix groups

Modified:
  gnome-2048/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-01 20:35:01 UTC (rev 476227)
+++ PKGBUILD    2023-05-01 20:36:12 UTC (rev 476228)
@@ -2,24 +2,38 @@
 
 pkgname=gnome-2048
 pkgver=3.38.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Obtain the 2048 tile"
 url="https://wiki.gnome.org/Apps/2048";
 arch=(x86_64)
 license=(GPL3)
-depends=(clutter-gtk libgee libgnome-games-support)
-makedepends=(meson vala yelp-tools appstream-glib git)
+depends=(
+  clutter-gtk
+  libgee
+  libgnome-games-support
+)
+makedepends=(
+  appstream-glib
+  git
+  meson
+  vala
+  yelp-tools
+)
+groups=(gnome-extra)
 _commit=82f155f326a9e1973d7283bfa3f7cbb756a9984a  # tags/3.38.2^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-2048.git#commit=$_commit";)
-sha256sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
+
+  # Fix build with newer meson
+  git cherry-pick -n 194e22699f7166a016cd39ba26dd719aeecfc868
 }
 
 build() {
@@ -32,5 +46,7 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }
+
+# vim:set sw=2 sts=-1 et:

Reply via email to