2017-10-31 23:59:37 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - configure with --enable-compile-warnings=no
|
|
|
|
|
|
|
|
pkgname=yelp
|
2018-04-10 12:33:12 +00:00
|
|
|
pkgver=3.28.1
|
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)
|
2018-04-10 12:33:12 +00:00
|
|
|
makedepends=(intltool gtk-doc itstool autoconf-archive git xorg-server-xvfb appstream-glib)
|
2017-10-31 23:59:37 +00:00
|
|
|
groups=(gnome)
|
2018-04-10 12:33:12 +00:00
|
|
|
_commit=fa41803996924b6f216aa205a1a0cd993f81d80e # tags/3.28.1^0
|
|
|
|
source=("git+https://git.gnome.org/browse/yelp#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
|
|
|
|
xvfb-run -a -n 81 -s "-extension GLX -screen 0 1280x1024x24" make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|