mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added extra/yelp
This commit is contained in:
parent
b601d1bb89
commit
49e79e1c89
1 changed files with 47 additions and 0 deletions
47
extra/yelp/PKGBUILD
Normal file
47
extra/yelp/PKGBUILD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# $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
|
||||||
|
pkgver=3.26.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Get help with GNOME"
|
||||||
|
url="https://wiki.gnome.org/Apps/Yelp"
|
||||||
|
license=(GPL)
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
depends=(webkit2gtk yelp-xsl libxslt xz bzip2)
|
||||||
|
makedepends=(intltool gtk-doc itstool autoconf-archive git xorg-server-xvfb)
|
||||||
|
groups=(gnome)
|
||||||
|
_commit=f88de1d05ad1a7c04e47674e5ba56f2e83da16a5 # master~1
|
||||||
|
source=("git://git.gnome.org/yelp#commit=$_commit")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $pkgname
|
||||||
|
git describe --tags | sed 's/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $pkgname
|
||||||
|
# Fixup missing tag for pkgver()
|
||||||
|
git tag -f 3.26.0 f88de1d05ad1a7c04e47674e5ba56f2e83da16a5
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue