1 # Maintainer: Gordin <9ordin @t gmail dot com>
3 pkgname='python2-gntp-git'
6 pkgdesc='Python bindings for the Growl Notification Transport Protocol'
8 url='http://kungfudiscomonkey.net/gntp/'
11 provides=('python2-gntp')
14 _gitroot="https://github.com/kfdm/gntp.git"
19 msg "Connecting to GIT server...."
21 if [ -d ${_gitname} ] ; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
25 git clone ${_gitroot} ${_gitname} --depth=1
28 msg "GIT checkout done or server timeout"
32 cd ${srcdir}/${_gitname}
33 python2 setup.py install --root=${pkgdir}
34 install -D -m644 "${srcdir}/gntp/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"