[arch-commits] Commit in libgxps/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 09:10:14 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:10:13
  Author: felixonmars
Revision: 383779

archrelease: copy trunk to staging-x86_64

Added:
  libgxps/repos/staging-x86_64/
  libgxps/repos/staging-x86_64/PKGBUILD
    (from rev 383778, libgxps/trunk/PKGBUILD)

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

Copied: libgxps/repos/staging-x86_64/PKGBUILD (from rev 383778, libgxps/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:10:13 UTC (rev 383779)
@@ -0,0 +1,39 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libgxps
+pkgver=0.3.1
+pkgrel=2
+pkgdesc="XPS Documents library"
+url="https://wiki.gnome.org/Projects/libgxps"
+arch=(x86_64)
+license=(GPL2)
+depends=(gtk3 libarchive libjpeg-turbo libtiff lcms2)
+makedepends=(gobject-introspection gtk-doc git meson)
+_commit=1e508695c38ede224464ab3117777a2e65cf17ae  # tags/0.3.1^0
+source=("git+https://gitlab.gnome.org/GNOME/libgxps.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D enable-man=true -D enable-gtk-doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list