diff options
Diffstat (limited to 'extra/devhelp')
-rw-r--r-- | extra/devhelp/PKGBUILD | 29 | ||||
-rw-r--r-- | extra/devhelp/devhelp.install | 22 |
2 files changed, 51 insertions, 0 deletions
diff --git a/extra/devhelp/PKGBUILD b/extra/devhelp/PKGBUILD new file mode 100644 index 000000000..5b2e644d5 --- /dev/null +++ b/extra/devhelp/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 92057 2010-09-28 17:39:36Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Link Dupont <link@subpop.net> + +pkgname=devhelp +pkgver=2.32.0 +pkgrel=1 +pkgdesc="API documentation browser for GNOME" +arch=(i686 x86_64) +license=('GPL') +url="http://live.gnome.org/devhelp/" +depends=('gconf>=2.32.0' 'libwnck>=2.30.5' 'libwebkit>=1.2.1' 'hicolor-icon-theme' 'libunique>=1.1.6') +makedepends=('pkgconfig' 'intltool') +options=('!libtool' '!emptydirs') +install=devhelp.install +source=(http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.32/devhelp-${pkgver}.tar.bz2) +sha256sums=('61b342cbaf27379be9baa5df1f34c9464916601ec4378fa7e1c76fcc686553e4') + +build() { + cd "${srcdir}/devhelp-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain devhelp ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/devhelp/devhelp.install b/extra/devhelp/devhelp.install new file mode 100644 index 000000000..4db5f6e5c --- /dev/null +++ b/extra/devhelp/devhelp.install @@ -0,0 +1,22 @@ +pkgname=devhelp + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |