1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgdesc="An Arch out-of-date package notifier."
8 url="http://ghost1227.com/pkgwatch"
12 _gitroot="git://github.com/ghost1227/pkgwatch.git"
17 msg "Connecting to GIT server...."
19 if [ -d ${_gitname} ] ; then
20 cd ${_gitname} && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf ${srcdir}/${_gitname}-build
30 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
31 cd ${srcdir}/${_gitname}-build
33 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
34 install -Dm644 man/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1