[arch-commits] Commit in libgxps/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Jan 5 08:50:21 UTC 2019


    Date: Saturday, January 5, 2019 @ 08:50:19
  Author: heftig
Revision: 342994

0.3.1-1

Modified:
  libgxps/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-05 08:33:12 UTC (rev 342993)
+++ PKGBUILD	2019-01-05 08:50:19 UTC (rev 342994)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=libgxps
-pkgver=0.3.0
+pkgver=0.3.1
 pkgrel=1
 pkgdesc="XPS Documents library"
 url="https://wiki.gnome.org/Projects/libgxps"
@@ -10,8 +10,8 @@
 license=(GPL2)
 depends=(gtk3 libarchive libjpeg-turbo libtiff lcms2)
 makedepends=(gobject-introspection gtk-doc git meson)
-_commit=762b3026bb3f29cdc67f7816ef3d34d7d9a243ec  # tags/0.3.0^0
-source=("git+https://git.gnome.org/browse/libgxps#commit=$_commit")
+_commit=1e508695c38ede224464ab3117777a2e65cf17ae  # tags/0.3.1^0
+source=("git+https://gitlab.gnome.org/GNOME/libgxps.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -20,25 +20,20 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  meson --prefix=/usr --buildtype=release ../$pkgname \
-    -Denable-man=true -Denable-gtk-doc=true
-  ninja
+  arch-meson $pkgname build -D enable-man=true -D enable-gtk-doc=true
+  ninja -C build
 }
 
 check() {
-  cd build
-  mesontest
+  meson test -C build
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" meson install -C build
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list