PKGBUILDs/extra/yelp/PKGBUILD

30 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=yelp
pkgver=2.26.0
pkgrel=3
pkgdesc="A help browser for GNOME"
2009-10-11 04:11:32 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
depends=('xulrunner>=1.9.1' 'libgnomeui>=2.24.1' 'gnome-doc-utils>=0.16.0' 'startup-notification>=0.10' 'libxslt' 'hicolor-icon-theme' 'rarian>=0.8.1')
makedepends=('intltool' 'pkgconfig')
groups=('gnome')
license=('GPL')
options=('!emptydirs')
url="http://www.gnome.org"
install=yelp.install
source=(http://ftp.gnome.org/pub/gnome/sources/yelp/2.26/yelp-${pkgver}.tar.bz2)
md5sums=('3413fd051c5ecbfe98819a8fb4ac83dd')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var \
--with-search=basic --with-gecko=libxul-embedding || return 1
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain yelp ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}