1 # Contributor: Nazarov Pavel <nazarov.pn@gmail.com>
3 pkgname=gnome-shell-extension-calc-git
6 pkgdesc="A simple calculator in the search overview"
8 url="https://github.com/eonpatapon/gnome-shell-extension-calc"
9 groups=('gnome-shell-extensions')
11 depends=('gnome-shell')
13 _gitroot="git://github.com/eonpatapon/gnome-shell-extension-calc.git"
14 _gitname="gnome-shell-extension-calc"
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/calc@patapon.info/extension.js
32 install -Dm644 metadata.json $pkgdir/usr/share/gnome-shell/extensions/calc@patapon.info/metadata.json
33 install -Dm644 stylesheet.css $pkgdir/usr/share/gnome-shell/extensions/calc@patapon.info/activitiesbutton.css
34 install -Dm644 COPYING $pkgdir/usr/share/gnome-shell/extensions/calc@patapon.info/COPYING
35 install -Dm644 README.md $pkgdir/usr/share/gnome-shell/extensions/calc@patapon.info/README.md