PKGBUILDs/extra/yelp/PKGBUILD

45 lines
1.1 KiB
Bash
Raw Normal View History

2020-09-26 22:03:33 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2017-10-31 23:59:37 +00:00
# Contributor: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure with --enable-compile-warnings=no
pkgname=yelp
2020-09-26 22:03:33 +00:00
pkgver=3.38.0
2017-10-31 23:59:37 +00:00
pkgrel=1
pkgdesc="Get help with GNOME"
url="https://wiki.gnome.org/Apps/Yelp"
license=(GPL)
2018-03-25 00:58:36 +00:00
arch=(x86_64)
2017-10-31 23:59:37 +00:00
depends=(webkit2gtk yelp-xsl libxslt xz bzip2)
2020-03-08 10:08:20 +00:00
makedepends=(gtk-doc itstool autoconf-archive git xorg-server-xvfb appstream-glib)
2017-10-31 23:59:37 +00:00
groups=(gnome)
2020-09-26 22:03:33 +00:00
_commit=e36454f55d5985ab889ae3c5938607b3b6db647d # tags/3.38.0^0
2018-09-17 18:38:52 +00:00
source=("git+https://gitlab.gnome.org/GNOME/yelp.git#commit=$_commit")
2017-10-31 23:59:37 +00:00
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=no
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
# Documentation generation segfaults without X11
2020-03-08 10:08:20 +00:00
xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' make
2017-10-31 23:59:37 +00:00
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}