1 # Maintainer: Aljosha Papsch <joschi.papsch@yahoo.de>
3 pkgname=nautilus-git-scripts
6 pkgdesc="Nautilus scripts for interacting with a Git repository"
8 url="https://github.com/tapio/nautilus-git-scripts"
10 depends=('nautilus' 'zenity')
12 install=nautilus-git-scripts.install
14 _gitroot="https://github.com/tapio/nautilus-git-scripts.git"
15 _gitname="nautilus-git-scripts"
19 msg "Connecting to GIT server..."
20 if [ -d ${_gitname} ]; then
21 cd ${_gitname} && git pull origin
22 msg "The local files are updated"
24 git clone ${_gitroot} ${_gitname}
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
29 if [ `pwd` != ${_gitname} ]; then
30 cd ${srcdir}/${_gitname}
33 mkdir -p ${pkgdir}/usr/share/nautilus-git-scripts
34 cp -rf Git/ ${pkgdir}/usr/share/nautilus-git-scripts