Date: Monday, May 1, 2023 @ 20:46:04
  Author: heftig
Revision: 476237

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-dictionary/repos/gnome-unstable-x86_64/
  gnome-dictionary/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 476233, gnome-dictionary/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: gnome-dictionary/repos/gnome-unstable-x86_64/PKGBUILD (from rev 476233, 
gnome-dictionary/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2023-05-01 20:46:04 UTC (rev 476237)
@@ -0,0 +1,49 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+
+pkgname=gnome-dictionary
+pkgver=40.0
+pkgrel=2
+pkgdesc="Look up words in dictionary sources"
+url="https://wiki.gnome.org/Apps/Dictionary";
+arch=(x86_64)
+license=(GPL2)
+depends=(gtk3)
+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";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Fix build with newer meson
+  git cherry-pick -n 87c026cfe4acbcfc62d15950f88a71d8d9678c7e \
+                     cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to