1 # Contributor: Florian Bäuerle <florian.bae@gmail.com>
3 pkgname=gnome-shell-extension-advancedcalc-git
6 pkgdesc="An advanced calculator in the search overview"
8 url="https://github.com/war1025/GCalcSearch"
9 groups=('gnome-shell-extensions')
11 depends=('gnome-shell')
13 _gitroot="https://github.com/war1025/GCalcSearch.git"
14 _gitname="GCalcSearch"
17 msg "Connecting to GIT server...."
19 if [ -d $startdir/src/$_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
31 install -Dm644 extension.js $pkgdir/usr/share/gnome-shell/extensions/gcalc-search@wrowclif.org/extension.js
32 install -Dm644 metadata.json $pkgdir/usr/share/gnome-shell/extensions/gcalc-search@wrowclif.org/metadata.json
33 install -Dm644 stylesheet.css $pkgdir/usr/share/gnome-shell/extensions/gcalc-search@wrowclif.org/stylesheet.css
34 install -Dm644 README $pkgdir/usr/share/gnome-shell/extensions/gcalc-search@wrowclif.org/README