Date: Sunday, October 30, 2022 @ 22:28:29
Author: heftig
Revision: 459591
archrelease: copy trunk to testing-any
Added:
yelp-tools/repos/testing-any/
yelp-tools/repos/testing-any/PKGBUILD
(from rev 459590, yelp-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: yelp-tools/repos/testing-any/PKGBUILD (from rev 459590,
yelp-tools/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2022-10-30 22:28:29 UTC (rev 459591)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=yelp-tools
+pkgver=42.1
+pkgrel=1
+pkgdesc="Collection of tools for building and converting documentation"
+url="https://gitlab.gnome.org/GNOME/yelp-tools"
+arch=(any)
+depends=(yelp-xsl python-lxml itstool libxml2 docbook-xsl mallard-ducktype)
+makedepends=(git meson)
+license=(GPL)
+_commit=fe5ff72ca46fba425143e5dc67d660703c86145f # tags/42.1^0
+source=("git+https://gitlab.gnome.org/GNOME/yelp-tools.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D help=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}