Date: Monday, May 1, 2023 @ 20:44:53
  Author: heftig
Revision: 476231

40.0-2: FS#70517 fix groups

Modified:
  gnome-dictionary/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-01 20:44:43 UTC (rev 476230)
+++ PKGBUILD    2023-05-01 20:44:53 UTC (rev 476231)
@@ -3,24 +3,34 @@
 
 pkgname=gnome-dictionary
 pkgver=40.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Look up words in dictionary sources"
 url="https://wiki.gnome.org/Apps/Dictionary";
 arch=(x86_64)
 license=(GPL2)
 depends=(gtk3)
-makedepends=(yelp-tools git meson appstream-glib)
+makedepends=(
+  appstream-glib
+  git
+  meson
+  yelp-tools
+)
+groups=(gnome-extra)
 _commit=c37edfc2cbf91d6bae6d5264d0dcfcb5dd34b313  # tags/40.0^0
 
source=("git+https://gitlab.gnome.org/GNOME/gnome-dictionary.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 87c026cfe4acbcfc62d15950f88a71d8d9678c7e \
+                     cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68
 }
 
 build() {
@@ -29,11 +39,11 @@
 }
 
 check() {
-  meson test -C build
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }
 
-# vim:set ts=2 sw=2 et:
+# vim:set sw=2 sts=-1 et:

Reply via email to