[arch-commits] Commit in gnome-books/repos (2 files)

Jan Steffens heftig at archlinux.org
Thu Sep 12 21:57:20 UTC 2019


    Date: Thursday, September 12, 2019 @ 21:57:19
  Author: heftig
Revision: 362359

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-books/repos/gnome-unstable-x86_64/
  gnome-books/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 362358, gnome-books/trunk/PKGBUILD)

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

Copied: gnome-books/repos/gnome-unstable-x86_64/PKGBUILD (from rev 362358, gnome-books/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-09-12 21:57:19 UTC (rev 362359)
@@ -0,0 +1,47 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-books
+pkgver=3.34.0
+pkgrel=1
+pkgdesc="Access and organize your e-books on GNOME"
+url="https://wiki.gnome.org/Apps/Books"
+arch=(x86_64)
+license=(GPL)
+depends=(evince gjs gtk3 gnome-desktop tracker-miners webkit2gtk libgepub
+         gnome-epub-thumbnailer)
+makedepends=(gobject-introspection git meson yelp-tools)
+groups=(gnome)
+_commit=a3f5d24d31bc54ee12556567e8fe4d039d0b664c  # tags/3.34.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-books.git#commit=$_commit"
+        "git+https://gitlab.gnome.org/GNOME/libgd.git")
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  git submodule init
+  git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
+  git submodule update
+}
+  
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list