# Maintainer: Daniel Milde # Contributor: Daniel Pereira # Contributor: Florian Mounier aka paradoxxxzero # Contributor: Michael Schubert _reponame=gnome-shell-system-monitor-applet pkgname=gnome-shell-extension-system-monitor-git pkgver=969.f7eef87 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.10' 'libgtop' 'networkmanager') makedepends=('git') provides=("system-monitor-applet" "gnome-shell-system-monitor-applet-git") replaces=("gnome-shell-system-monitor-applet-git") conflicts=("gnome-shell-system-monitor-applet-git") install="gschemas.install" source=('git+https://github.com/shemgp/gnome-shell-system-monitor-applet.git#branch=gnome-shell-3.36') sha1sums=('SKIP') package() { cd "$srcdir/$_reponame" # Install the extension install -d "$pkgdir/usr/share/gnome-shell/extensions/" cp -R "system-monitor@paradoxxx.zero.gmail.com" "$pkgdir/usr/share/gnome-shell/extensions" # Install the gschema install -d "$pkgdir/usr/share/glib-2.0/schemas" install -m 644 "system-monitor@paradoxxx.zero.gmail.com/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml" "$pkgdir/usr/share/glib-2.0/schemas/" } pkgver() { cd $_reponame echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) }