Date: Monday, November 8, 2021 @ 20:30:53 Author: heftig Revision: 427608
archrelease: copy trunk to gnome-unstable-x86_64 Added: yelp/repos/gnome-unstable-x86_64/ yelp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427607, yelp/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: yelp/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427607, yelp/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2021-11-08 20:30:53 UTC (rev 427608) @@ -0,0 +1,39 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=yelp +pkgver=41.1 +pkgrel=1 +pkgdesc="Get help with GNOME" +url="https://wiki.gnome.org/Apps/Yelp" +license=(GPL) +arch=(x86_64) +depends=(webkit2gtk-4.1 yelp-xsl libxslt xz bzip2) +makedepends=(gtk-doc itstool autoconf-archive git appstream-glib) +groups=(gnome) +_commit=29b1db90c2ca491b95bae07f9a3a7d3b609eed4f # tags/41.1^0 +source=("git+https://gitlab.gnome.org/GNOME/yelp.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-gtk-doc --enable-compile-warnings=minimum + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}