Date: Tuesday, October 25, 2022 @ 13:40:29
  Author: heftig
Revision: 458870

0.7.0-1

Modified:
  libgepub/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-25 13:29:13 UTC (rev 458869)
+++ PKGBUILD    2022-10-25 13:40:29 UTC (rev 458870)
@@ -1,29 +1,32 @@
-# Maintainer: Jan de Groot <[email protected]>
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
 
 pkgname=libgepub
-pkgver=0.6.0
-pkgrel=2
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="Simple library to read epub files using glib"
 url="https://gitlab.gnome.org/GNOME/libgepub";
 arch=(x86_64)
 license=(LGPL)
-depends=(webkit2gtk libarchive)
-makedepends=(git gtk-doc gobject-introspection meson)
-_commit=ecca0e1e8f2c301b1ea769e618a92125ee934b57  # tags/0.6.0^0
+depends=(glib2 libsoup3 libxml2 libarchive webkit2gtk-4.1)
+makedepends=(git gobject-introspection meson)
+provides=(libgepub-${pkgver%.*}.so)
+options=(debug)
+_commit=4dd9e801cd8dbb33e62ce998df45e10fd6d215fe  # tags/0.7.0^0
 source=("git+https://gitlab.gnome.org/GNOME/libgepub.git#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  cd libgepub
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd libgepub
 }
 
 build() {
-  arch-meson $pkgname build
+  arch-meson libgepub build
   ninja -C build
 }
 
@@ -32,5 +35,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