summaryrefslogtreecommitdiff
path: root/extra/devhelp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
committerroot <root@rshg054.dnsready.net>2013-04-23 01:16:16 -0700
commitd1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (patch)
treeda594e49962aa1b32a81dd8066423c4fd5fdcec6 /extra/devhelp
parenta5f6ca5d4e1aa12dfec53c3061df6e0198126fb4 (diff)
Tue Apr 23 01:16:16 PDT 2013
Diffstat (limited to 'extra/devhelp')
-rw-r--r--extra/devhelp/PKGBUILD18
-rw-r--r--extra/devhelp/devhelp.install16
2 files changed, 13 insertions, 21 deletions
diff --git a/extra/devhelp/PKGBUILD b/extra/devhelp/PKGBUILD
index d51581202..fae630d93 100644
--- a/extra/devhelp/PKGBUILD
+++ b/extra/devhelp/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 170977 2012-11-14 07:19:21Z heftig $
+# $Id: PKGBUILD 183344 2013-04-21 22:08:46Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
pkgname=devhelp
-pkgver=3.6.1
+pkgver=3.8.1
pkgrel=1
pkgdesc="API documentation browser for GNOME"
arch=(i686 x86_64)
-license=('GPL')
+license=(GPL)
url="http://live.gnome.org/devhelp/"
-depends=('gconf' 'webkitgtk3' 'hicolor-icon-theme')
-makedepends=('pkgconfig' 'intltool' 'python2')
+depends=(webkitgtk3 hicolor-icon-theme)
+makedepends=(pkgconfig intltool python)
options=('!libtool' '!emptydirs')
install=devhelp.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('71c6933422bf876745fc10276a2b2ee0f8c4c4ddfe034b3f6380507725fd4e63')
+sha256sums=('4548fb0b17d4716851cf044294a8ee59e72c8de97e793842faf510a6dbfd3c96')
build() {
cd $pkgname-$pkgver
@@ -27,9 +27,5 @@ build() {
package() {
cd $pkgname-$pkgver
- 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
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/devhelp/devhelp.install b/extra/devhelp/devhelp.install
index 4db5f6e5c..03f95852c 100644
--- a/extra/devhelp/devhelp.install
+++ b/extra/devhelp/devhelp.install
@@ -1,22 +1,18 @@
-pkgname=devhelp
-
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
pre_upgrade() {
- pre_remove
+ if (( $(vercmp $2 3.8.0) < 0 )); then
+ gconfpkg --uninstall devhelp
+ fi
}
post_upgrade() {
post_install
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}