1 # Contributor: David Gidwani <miniature@archlinux.us>
10 url="http://bitbucket.org/darvid"
11 pkgdesc="A user-friendly Openbox autostart.sh configurator."
14 arch=('x86_64' 'i686')
19 depends=('python' 'pygtk')
20 makedepends=('mercurial' 'coreutils')
24 msg "Connecting to Mercurial server..."
25 if [[ -d "${_hgrepo}/.hg" ]]; then
26 ( cd $_hgrepo && hg pull -u )
28 hg clone "${_hgroot}/${_hgrepo}"
32 install -D "$name.glade" "$pkgdir/usr/share/$name/$name.glade"
33 install -D -m755 "$name.py" "$pkgdir/usr/share/$name/$name.py"
37 mkdir -p "$pkgdir/usr/bin"
38 ln -s "$pkgdir/usr/share/$name/$name.py" "$pkgdir/usr/bin/$name"