1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Simple library to read epub files using glib"
8 url="https://gitlab.gnome.org/GNOME/libgepub"
11 depends=(glib2 libsoup3 libxml2 libarchive webkit2gtk-4.1)
12 makedepends=(git gobject-introspection meson)
13 provides=(libgepub-${pkgver%.*}.so)
14 _commit=4dd9e801cd8dbb33e62ce998df45e10fd6d215fe # tags/0.7.0^0
15 source=("git+https://gitlab.gnome.org/GNOME/libgepub.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson libgepub build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"
40 # vim:set sw=2 sts=-1 et: