1 # Maintainer: Kim Silkebækken <kim.silkebaekken+archlinux@gmail.com>
3 pkgname=phpundercontrol-git
6 pkgdesc="An addon application for the continuous integration tool CruiseControl, which integrates some of the best PHP development tools."
8 url="http://phpundercontrol.org/"
10 depends=("cruisecontrol-bin>=2.8" "php")
12 install=${pkgname}.install
14 _gitroot="git://github.com/phpundercontrol/phpUnderControl.git"
15 _gitname="phpUnderControl"
20 msg "Connecting to GIT repo..."
22 if [ -d ${_gitname} ]; then
27 msg "The local files are updated."
32 msg "GIT checkout completed."
34 install -d ${pkgdir}/opt/phpundercontrol
35 cp -a ${srcdir}/${_gitname}/{bin,data,src} ${pkgdir}/opt/phpundercontrol
36 rm -rf `find ${pkgdir} -name ".git"`
37 install -D -m 644 ${srcdir}/${_gitname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE