1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
6 pkgdesc="Convert git logs to GNU ChangeLog format"
7 url="http://josefsson.org/git2cl/"
10 depends=('git' 'perl')
17 _gitroot="git://repo.or.cz/git2cl.git"
22 msg "Connecting to repo.or.cz Git server."
24 if [ -d ${srcdir}/$_gitname ] ; then
25 cd $_gitname && git pull origin || return 1
26 msg "The local files have been updated."
28 git clone $_gitroot || return 1
31 msg "Git checkout done."
33 mkdir -p ${pkgdir}/usr/{bin/,share/doc/${pkgname/\-git/}} || return 1
34 install -m755 ${srcdir}/${_gitname}/git2cl ${pkgdir}/usr/bin || return 1
35 install -m644 ${srcdir}/${_gitname}/README* ${pkgdir}/usr/share/doc/${pkgname/\-git/} || return 1