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

Ionut Biru ibiru at archlinux.org
Wed Sep 28 19:29:28 UTC 2011


    Date: Wednesday, September 28, 2011 @ 15:29:28
  Author: ibiru
Revision: 138864

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 138832, devhelp/repos/gnome-unstable-x86_64/PKGBUILD)
  devhelp/repos/testing-x86_64/devhelp.install
    (from rev 138832, devhelp/repos/gnome-unstable-x86_64/devhelp.install)
Deleted:
  devhelp/repos/gnome-unstable-x86_64/

-----------------+
 PKGBUILD        |   33 +++++++++++++++++++++++++++++++++
 devhelp.install |   22 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: devhelp/repos/testing-x86_64/PKGBUILD (from rev 138832, devhelp/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-09-28 19:29:28 UTC (rev 138864)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Link Dupont <link at subpop.net>
+
+pkgname=devhelp
+pkgver=3.2.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=('974b4418036fa9a63a8f275257ed9ec1b7cae61a97e8e001e56e460c8a8e310e')
+
+build() {
+  cd "${srcdir}/devhelp-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/devhelp-${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 138832, devhelp/repos/gnome-unstable-x86_64/devhelp.install)
===================================================================
--- testing-x86_64/devhelp.install	                        (rev 0)
+++ testing-x86_64/devhelp.install	2011-09-28 19:29:28 UTC (rev 138864)
@@ -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