1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgdesc="Script to upload files to omploader.org"
9 url="http://github.com/Kiwi/ompluad/tree/master"
15 md5sums=('cc3dcddba8b29b3ecedd5ac09d7d35e8')
17 _gitroot="git://github.com/Kiwi/ompluad.git"
22 msg "Connecting to GIT server...."
24 if [ -d ${_gitname} ] ; then
25 cd ${_gitname} && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf ${srcdir}/${_gitname}-build
35 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
36 cd ${srcdir}/${_gitname}-build
38 install -D -m755 ${_gitname} ${pkgdir}/usr/bin/${_gitname} || return 1
39 install -D -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING