1 # Maintainer: Alper KANAT <alperkanat@raptiye.org>
6 pkgdesc="An application to help make hosting git repos easier and safer."
7 url="http://eagain.net/gitweb/?p=gitosis.git"
10 makedepends=("git" "python2" "python2-distribute")
13 install=("gitosis.install")
17 _gitroot="git://eagain.net/gitosis.git"
22 msg "Connecting to gitosis git server..."
24 if [ -d ${srcdir}/${_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 cd ${srcdir}/${_gitname}
35 python2 setup.py build || return 1
36 python2 setup.py install --root=${pkgdir} || return 1
39 install -Dm644 "${srcdir}/${_gitname}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
42 install -Dm644 "${srcdir}/${_gitname}/README.rst" "${pkgdir}/usr/share/doc/${_gitname}/README.rst"
43 install -Dm644 "${srcdir}/${_gitname}/example.conf" "${pkgdir}/usr/share/doc/${_gitname}/example.conf"
44 install -Dm644 "${srcdir}/${_gitname}/gitweb.conf" "${pkgdir}/usr/share/doc/${_gitname}/gitweb.conf"
45 install -Dm644 "${srcdir}/${_gitname}/lighttpd-gitweb.conf" "${pkgdir}/usr/share/doc/${_gitname}/lighttpd-gitweb.conf"