[arch-commits] Commit in gnome-documents/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Mar 14 19:57:44 UTC 2018
Date: Wednesday, March 14, 2018 @ 19:57:44
Author: heftig
Revision: 319078
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-documents/repos/gnome-unstable-x86_64/
gnome-documents/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 319077, gnome-documents/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: gnome-documents/repos/gnome-unstable-x86_64/PKGBUILD (from rev 319077, gnome-documents/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-14 19:57:44 UTC (rev 319078)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-documents
+pkgver=3.27.92+1+gcf96a64d
+pkgrel=1
+pkgdesc="A document manager application for GNOME"
+url="https://wiki.gnome.org/Apps/Documents"
+arch=(x86_64)
+license=(GPL)
+depends=(evince gjs gtk3 gnome-desktop gnome-online-accounts libgdata tracker-miners libzapojit
+ webkit2gtk gnome-online-miners librsvg libgepub)
+makedepends=(gobject-introspection git meson yelp-tools inkscape)
+optdepends=('libreoffice-fresh: Support for Libreoffice document types')
+groups=(gnome)
+_commit=cf96a64d3b3e20be3b15851ffcb377bf5bae9fbc # gnome-3-28
+source=("git+https://git.gnome.org/browse/gnome-documents#commit=$_commit"
+ "git+https://git.gnome.org/browse/libgd")
+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 -D getting_started=true
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list