Date: Tuesday, October 25, 2022 @ 13:40:36
  Author: heftig
Revision: 458871

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  libgepub/repos/gnome-unstable-x86_64/
  libgepub/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 458870, libgepub/trunk/PKGBUILD)

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

Copied: libgepub/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458870, 
libgepub/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2022-10-25 13:40:36 UTC (rev 458871)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=libgepub
+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=(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 libgepub
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd libgepub
+}
+
+build() {
+  arch-meson libgepub build
+  ninja -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