[arch-commits] Commit in gnome-system-monitor/repos (4 files)
Jan Steffens
heftig at archlinux.org
Sun Apr 1 11:34:04 UTC 2012
Date: Sunday, April 1, 2012 @ 07:34:04
Author: heftig
Revision: 155148
db-move: moved gnome-system-monitor from [gnome-unstable] to [testing] (i686)
Added:
gnome-system-monitor/repos/testing-i686/
gnome-system-monitor/repos/testing-i686/PKGBUILD
(from rev 155005, gnome-system-monitor/repos/gnome-unstable-i686/PKGBUILD)
gnome-system-monitor/repos/testing-i686/gnome-system-monitor.install
(from rev 155005, gnome-system-monitor/repos/gnome-unstable-i686/gnome-system-monitor.install)
Deleted:
gnome-system-monitor/repos/gnome-unstable-i686/
------------------------------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
gnome-system-monitor.install | 19 +++++++++++++++++++
2 files changed, 48 insertions(+)
Copied: gnome-system-monitor/repos/testing-i686/PKGBUILD (from rev 155005, gnome-system-monitor/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-04-01 11:34:04 UTC (rev 155148)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-system-monitor
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="A system monitor for GNOME"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('libwnck3' 'libgtop' 'gtkmm3' 'librsvg' 'gnome-icon-theme' 'libsystemd')
+makedepends=('pkgconfig' 'gnome-doc-utils' 'intltool')
+options=(!emptydirs)
+url="http://www.gnome.org"
+groups=('gnome-extra')
+install=gnome-system-monitor.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e62047983f423f4a178f01d860e9b362e8c9757d4bbeadad0f261b97b4433d12')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnome-system-monitor/repos/testing-i686/gnome-system-monitor.install (from rev 155005, gnome-system-monitor/repos/gnome-unstable-i686/gnome-system-monitor.install)
===================================================================
--- testing-i686/gnome-system-monitor.install (rev 0)
+++ testing-i686/gnome-system-monitor.install 2012-04-01 11:34:04 UTC (rev 155148)
@@ -0,0 +1,19 @@
+pkgname=gnome-system-monitor
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list