# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libgepub pkgver=0.7.1 pkgrel=0 pkgdesc="GObject based library for handling epub documents" url="https://gitlab.gnome.org/GNOME/libgepub" arch="all" license="LGPL-2.1-or-later" makedepends=" glib-dev gobject-introspection-dev libarchive-dev libsoup3-dev libxml2-dev meson webkit2gtk-4.1-dev " checkdepends="gtk+3.0-dev" options="!check" # Need an external epub file subpackages="$pkgname-dev" source="https://download.gnome.org/sources/libgepub/${pkgver%.*}/libgepub-$pkgver.tar.xz" build() { abuild-meson -Db_lto=true . output meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 9a9c56cffab485b78f0fdf115e655c4f395ee6e3f00b203fee5dfbb2054aa58540ca1fe8dc9dd82460ae3b39e89471e128086be10e77b247d0ce7b195bfbe8e3 libgepub-0.7.1.tar.xz "