Date: Wednesday, October 26, 2022 @ 23:17:28
  Author: heftig
Revision: 459349

change group

Modified:
  gnome-books/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-26 23:13:30 UTC (rev 459348)
+++ PKGBUILD    2022-10-26 23:17:28 UTC (rev 459349)
@@ -1,4 +1,4 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
 
 pkgname=gnome-books
 pkgver=40.0
@@ -10,7 +10,8 @@
 depends=(evince gjs gtk3 gnome-desktop tracker3-miners webkit2gtk libgepub
          gnome-epub-thumbnailer)
 makedepends=(gobject-introspection git meson yelp-tools)
-groups=(gnome)
+groups=(gnome-extra)
+options=(debug)
 _commit=e5a6646a5586f36e0ee3167a77237b4c7eaff8e0  # tags/40.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-books.git#commit=$_commit";
         "git+https://gitlab.gnome.org/GNOME/libgd.git";)
@@ -19,7 +20,7 @@
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
@@ -27,13 +28,13 @@
 
   git submodule init
   git submodule set-url subprojects/libgd "$srcdir/libgd"
-  git submodule update
+  git -c protocol.file.allow=always submodule update
 }
   
 
 build() {
   arch-meson $pkgname build
-  ninja -C build
+  meson compile -C build
 }
 
 check() {
@@ -41,7 +42,7 @@
 }
 
 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