diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /gnome-unstable/yelp |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'gnome-unstable/yelp')
-rw-r--r-- | gnome-unstable/yelp/PKGBUILD | 30 | ||||
-rw-r--r-- | gnome-unstable/yelp/yelp.install | 19 |
2 files changed, 49 insertions, 0 deletions
diff --git a/gnome-unstable/yelp/PKGBUILD b/gnome-unstable/yelp/PKGBUILD new file mode 100644 index 000000000..4d9cd0b99 --- /dev/null +++ b/gnome-unstable/yelp/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 116167 2011-03-22 19:52:13Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=yelp +pkgver=2.91.92 +pkgrel=1 +pkgdesc="A help browser for GNOME" +arch=('i686' 'x86_64') +depends=('libwebkit3' 'yelp-xsl' 'libxslt' 'hicolor-icon-theme' 'dbus-glib' + 'xz' 'bzip2' 'desktop-file-utils') +makedepends=('intltool' 'gtk-doc') +groups=('gnome') +license=('GPL') +options=('!emptydirs' '!libtool') +url="http://www.gnome.org" +install=yelp.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) +sha256sums=('228b6bba0702d2df831aca9ec90af52df7f15c6c94187fbb77b20a77074c9735') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/gnome-unstable/yelp/yelp.install b/gnome-unstable/yelp/yelp.install new file mode 100644 index 000000000..f3bf19a93 --- /dev/null +++ b/gnome-unstable/yelp/yelp.install @@ -0,0 +1,19 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall yelp + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |