[arch-commits] Commit in yelp/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:33:38 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:33:37
Author: ibiru
Revision: 139079
db-move: moved yelp from [gnome-unstable] to [testing] (x86_64)
Added:
yelp/repos/testing-x86_64/
yelp/repos/testing-x86_64/PKGBUILD
(from rev 138832, yelp/repos/gnome-unstable-x86_64/PKGBUILD)
yelp/repos/testing-x86_64/yelp.install
(from rev 138832, yelp/repos/gnome-unstable-x86_64/yelp.install)
Deleted:
yelp/repos/gnome-unstable-x86_64/
--------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
yelp.install | 19 +++++++++++++++++++
2 files changed, 49 insertions(+)
Copied: yelp/repos/testing-x86_64/PKGBUILD (from rev 138832, yelp/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-28 19:33:37 UTC (rev 139079)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=yelp
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="A help browser for GNOME"
+arch=('i686' 'x86_64')
+depends=('libwebkit3' 'yelp-xsl' 'libxslt' 'hicolor-icon-theme' 'dbus-glib'
+ 'xz' 'bzip2' 'desktop-file-utils' 'dconf')
+makedepends=('intltool' 'gtk-doc')
+groups=('gnome')
+license=('GPL')
+options=('!emptydirs' '!libtool')
+url="http://www.gnome.org"
+install=yelp.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('6c33bb608614cc81b1c6d9009621a0618beb39e75bf14da0f091871edcd03172')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: yelp/repos/testing-x86_64/yelp.install (from rev 138832, yelp/repos/gnome-unstable-x86_64/yelp.install)
===================================================================
--- testing-x86_64/yelp.install (rev 0)
+++ testing-x86_64/yelp.install 2011-09-28 19:33:37 UTC (rev 139079)
@@ -0,0 +1,19 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.90.0) < 0 )); then
+ usr/sbin/gconfpkg --uninstall yelp
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list