1 # Contributor: Jakub Vitak <mainiak@gmail.com>
5 pkgdesc="AutoAdmin pluf app"
7 url="http://code.pluf.org/p/admin/"
18 _aur_url="http://aur.archlinux.org/packages/$pkgname/$pkgname"
19 source=("${_aur_url}/backup+history.patch" "${_aur_url}/backup.patch")
21 md5sums=('353310434b4aa5bc1a477a8dd131d824'
22 '731543c32e7ad6d3faec166ea08be0bd')
24 _gitroot="git://pluf.indefero.net/pluf/admin.git"
29 msg "Connecting to GIT server...."
31 if [ -d $_gitname ] ; then
32 cd $_gitname && git pull origin
33 msg "The local files are updated."
35 git clone $_gitroot $_gitname
38 msg "GIT checkout done or server timeout"
39 msg "Starting make..."
41 _dest="$pkgdir/srv/http"
45 cp -r $srcdir/$_gitname $_dest
46 rm -rf $_dest/$_gitname/.git
49 patch -p1 -i $srcdir/backup+history.patch
50 patch -p1 -i $srcdir/backup.patch