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

Jan Steffens heftig at archlinux.org
Sun Mar 21 01:56:19 UTC 2021


    Date: Sunday, March 21, 2021 @ 01:56:19
  Author: heftig
Revision: 410392

40.0-1

Modified:
  yelp-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-21 01:42:31 UTC (rev 410391)
+++ PKGBUILD	2021-03-21 01:56:19 UTC (rev 410392)
@@ -2,15 +2,15 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=yelp-tools
-pkgver=3.38.0
+pkgver=40.0
 pkgrel=1
 pkgdesc="Collection of tools for building and converting documentation"
 url="https://gitlab.gnome.org/GNOME/yelp-tools"
 arch=(any)
-depends=(yelp-xsl libxslt libxml2 itstool docbook-xsl mallard-ducktype)
-makedepends=(git)
+depends=(yelp-xsl python-lxml itstool libxml2 docbook-xsl mallard-ducktype)
+makedepends=(git meson)
 license=(GPL)
-_commit=901865178e6d15f62cb939dce50a01abe3fbdb2c  # tags/3.38.0^0
+_commit=00297c603474c28c757da82732e70e23dc6c0e2d  # tags/40.0^0
 source=("git+https://gitlab.gnome.org/GNOME/yelp-tools.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -18,18 +18,20 @@
   cd $pkgname
   git describe --tags | sed 's/-/+/g'
 }
+
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-  make
+  arch-meson $pkgname build -D help=true
+  meson compile -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list