[arch-commits] Commit in devhelp/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:31:14 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:31:13
  Author: heftig
Revision: 155038

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

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

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

Copied: devhelp/repos/testing-x86_64/PKGBUILD (from rev 155005, devhelp/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:31:13 UTC (rev 155038)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Link Dupont <link at 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-x86_64/devhelp.install (from rev 155005, devhelp/repos/gnome-unstable-x86_64/devhelp.install)
===================================================================
--- testing-x86_64/devhelp.install	                        (rev 0)
+++ testing-x86_64/devhelp.install	2012-04-01 11:31:13 UTC (rev 155038)
@@ -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
+}



More information about the arch-commits mailing list