1 # Contributor: Jacob Winther <jacob.winther@gmail.com>
2 # Maintainer: Andei Thorp <garoth at the rather nice gmail.com>
6 pkgdesc="Widgets for awesome wm (latest version)"
8 url="http://awesome.naquadah.org/wiki/Obvious"
15 _gitroot=git://git.mercenariesguild.net/obvious.git
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
31 install -d ${pkgdir}/usr/share/awesome/lib/${_gitname} || return 1
32 cp -a ${_gitname}/* ${pkgdir}/usr/share/awesome/lib/${_gitname} || return 1
33 rm ${pkgdir}/usr/share/awesome/lib/${_gitname}/{AUTHORS,CONTRIBUTING.md,LICENSE,TODO} || return 1
34 install -Dm644 ${_gitname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1