Permalink
Browse files

add arch pkgbuild source

  • Loading branch information...
1 parent 3a21988 commit 8f400b374a44921b26f5a2e228fc2d74242114e7 @darkxst darkxst committed May 3, 2012
Showing with 35 additions and 0 deletions.
  1. +35 −0 archlinux/PKGBUILD
View
@@ -0,0 +1,35 @@
+# Maintainer: Florian Mounier aka paradoxxxzero <paradoxxx.zero@gmail.com>
+pkgname=gnome-shell-system-monitor-applet-git
+pkgver=20120504
+pkgrel=1
+pkgdesc="System monitor extension for Gnome-Shell (display mem swap cpu usage)"
+arch=('any')
+url="http://github.com/paradoxxxzero/gnome-shell-system-monitor-applet"
+license=('GPL3')
+depends=('gnome-shell>=3.3.90' 'libgtop' 'networkmanager')
+makedepends=('git')
+provides=("system-monitor-applet")
+#install=gschemas.install
+
+_gitroot="git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git"
+_gitname="gnome-shell-system-monitor-applet"
+
+build() {
+ cd ${srcdir}/
+ msg "Connecting to the GIT server..."
+ if [[ -d ${srcdir}/${_gitname} ]] ; then
+ cd ${_gitname}
+ git pull origin
+ msg "The local files are updated..."
+ else
+ git clone ${_gitroot} ${_gitname}
+ fi
+ msg "GIT checkout done."
+}
+
+package() {
+ cd "$srcdir/gnome-shell-system-monitor-applet"
+ mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
+ cp -R "system-monitor@paradoxxx.zero.gmail.com" "$pkgdir/usr/share/gnome-shell/extensions"
+}
+

0 comments on commit 8f400b3

Please sign in to comment.