mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - configure with --enable-compile-warnings=no
|
|
|
|
pkgname=yelp
|
|
pkgver=3.38.1
|
|
pkgrel=1
|
|
pkgdesc="Get help with GNOME"
|
|
url="https://wiki.gnome.org/Apps/Yelp"
|
|
license=(GPL)
|
|
arch=(x86_64)
|
|
depends=(webkit2gtk yelp-xsl libxslt xz bzip2)
|
|
makedepends=(gtk-doc itstool autoconf-archive git xorg-server-xvfb appstream-glib)
|
|
groups=(gnome)
|
|
_commit=31f5dc15af8d1dc69d556a870a0b21d95520d7f8 # tags/3.38.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=no
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
# Documentation generation segfaults without X11
|
|
xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|