Date: Sunday, April 1, 2012 @ 07:31:12
  Author: heftig
Revision: 155037

db-move: moved devhelp from [gnome-unstable] to [testing] (i686)

Added:
  devhelp/repos/testing-i686/
  devhelp/repos/testing-i686/PKGBUILD
    (from rev 155005, devhelp/repos/gnome-unstable-i686/PKGBUILD)
  devhelp/repos/testing-i686/devhelp.install
    (from rev 155005, devhelp/repos/gnome-unstable-i686/devhelp.install)
Deleted:
  devhelp/repos/gnome-unstable-i686/

-----------------+
 PKGBUILD        |   34 ++++++++++++++++++++++++++++++++++
 devhelp.install |   22 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: devhelp/repos/testing-i686/PKGBUILD (from rev 155005, 
devhelp/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2012-04-01 11:31:12 UTC (rev 155037)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+# Contributor: Jan de Groot <j...@archlinux.org>
+# Contributor: Link Dupont <l...@subpop.net>
+
+pkgname=devhelp
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="API documentation browser for GNOME"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://live.gnome.org/devhelp/";
+depends=('gconf' 'libwebkit3' 'hicolor-icon-theme')
+makedepends=('pkgconfig' 'intltool' 'python2')
+options=('!libtool' '!emptydirs')
+install=devhelp.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('de7466250a433877abf562815eb1cc8dd663d80ae65cdf796285c0c5b05144e8')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static
+  make
+}
+
+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
+}

Copied: devhelp/repos/testing-i686/devhelp.install (from rev 155005, 
devhelp/repos/gnome-unstable-i686/devhelp.install)
===================================================================
--- testing-i686/devhelp.install                                (rev 0)
+++ testing-i686/devhelp.install        2012-04-01 11:31:12 UTC (rev 155037)
@@ -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
+}

Reply via email to