Date: Monday, May 1, 2023 @ 19:24:34 Author: heftig Revision: 476185 42.2-2: FS#78062 add man-db optdep
Modified: yelp/trunk/PKGBUILD ----------+ PKGBUILD | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-05-01 19:13:48 UTC (rev 476184) +++ PKGBUILD 2023-05-01 19:24:34 UTC (rev 476185) @@ -3,20 +3,35 @@ pkgname=yelp pkgver=42.2 -pkgrel=1 +pkgrel=2 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 libhandy) -makedepends=(itstool autoconf-archive git appstream-glib) +depends=( + bzip2 + libhandy + libxslt + webkit2gtk-4.1 + xz + yelp-xsl +) +makedepends=( + appstream-glib + autoconf-archive + git + itstool +) +optdepends=('man-db: View manual pages') provides=(libyelp.so) groups=(gnome) _commit=9fd1a84e1eae23db21939ff76c7e96d5422d3b1a # tags/42.2^0 -source=("git+https://gitlab.gnome.org/GNOME/yelp.git#commit=$_commit" - no-gtk-doc.diff) -sha256sums=('SKIP' - '795b8b6ee7cbbf6ccdbeba70ac8335becaaa6a44abe82f90c1c95d8113e4bf28') +source=( + "git+https://gitlab.gnome.org/GNOME/yelp.git#commit=$_commit" + no-gtk-doc.diff +) +b2sums=('SKIP' + 'd6200723395292742105065baeab12ae308f8141069343c5ec79bcab10e4efbdea69ea9deffdcd7a2fb0c0ceeb886398b8b303ff750af1a79c38c64046664501') pkgver() { cd yelp @@ -33,9 +48,16 @@ } build() { + local configure_options=( + --prefix=/usr + --sysconfdir=/etc + --localstatedir=/var + --enable-compile-warnings=minimum + --disable-static + ) + cd yelp - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --enable-compile-warnings=minimum + ./configure "${configure_options[@]}" sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } @@ -44,3 +66,5 @@ cd yelp make DESTDIR="$pkgdir" install } + +# vim:set sw=2 sts=-1 et:
