Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e45639d033f6410dc16ece7b658fcea72255a23a

commit e45639d033f6410dc16ece7b658fcea72255a23a
Author: Baste <ba...@frugalware.org>
Date:   Mon Jun 20 22:14:51 2011 +0200

gnome-shell-system-monitor-applet-20110620-1-i686
* Version bump

diff --git a/source/gnome-extra/gnome-shell-system-monitor-applet/FrugalBuild 
b/source/gnome-extra/gnome-shell-system-monitor-applet/FrugalBuild
index db75563..a758a4d 100644
--- a/source/gnome-extra/gnome-shell-system-monitor-applet/FrugalBuild
+++ b/source/gnome-extra/gnome-shell-system-monitor-applet/FrugalBuild
@@ -2,28 +2,35 @@
# Maintainer: Baste <ba...@frugalware.org>

pkgname=gnome-shell-system-monitor-applet
-pkgver=20110606
-pkgrel=3
+pkgver=20110620
+pkgrel=1
pkgdesc="Display system informations in gnome shell status bar, such as memory 
usage, cpu usage, network rates."
url="https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet";
-depends=('gnome-shell>=3.0.2' 'pygobject')
+depends=('gnome-shell' 'pygobject')
groups=('gnome-extra')
archs=('i686' 'x86_64')
_F_gnome_glib="y"
Finclude gnome-scriptlet gnome-shell-extensions
up2date="Flasttar 
http://ftp.frugalware.org/pub/other/people/baste/snapshots/$pkgname";
source=(http://ftp.frugalware.org/pub/other/people/baste/snapshots/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha1sums=('720929c29fc3c5487b7ed1113f73462a08faeb4d')
+sha1sums=('77c8bb2970c650f4461c1f388e78b1c38f1553bd')

build(){
Fcd
Fmkdir usr/share/gnome-shell/extensions
Fcprel system-monitor\@paradoxxx.zero.gmail.com 
usr/share/gnome-shell/extensions/
-        Fmkdir usr/share/glib-2.0/schemas
-        Ffilerel org.gnome.shell.extensions.system-monitor.gschema.xml 
usr/share/glib-2.0/schemas/
-       FGnomeShellVersion
Fexerel system-monitor-applet-config.py usr/bin/system-monitor-applet-config
Fmkdir usr/share/applications
-       Ffilerel system-monitor-applet-config.desktop usr/share/applications/
-        Fbuild_gnome_scriptlet
+        Ffilerel system-monitor-applet-config.desktop usr/share/applications/
+       for dir in po/* ;do
+               [[ -d "$dir" ]] && {
+                       lang=$(basename "$dir")
+                       Fmkdir usr/share/locale/LC_MESSAGES/${lang}
+                       msgfmt "$dir/system-monitor-applet.po" -o 
"$Fdestdir/usr/share/locale/LC_MESSAGES/${lang}/system-monitor-applet.mo"
+               }
+       done
+       Fmkdir usr/share/glib-2.0/schemas
+        Ffilerel org.gnome.shell.extensions.system-monitor.gschema.xml 
usr/share/glib-2.0/schemas/
+       FGnomeShellVersion
+       Fbuild_gnome_scriptlet
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to