1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Anthony Garcia <myfirstname@home[thekernelwelove].net>
7 pkgdesc="The pacman from-source wrapper"
9 url="http://projects.archlinux.org/srcpac.git/"
11 depends=('bash' 'pacman' 'abs')
15 backup=('etc/srcpac.conf')
17 _gitroot="git://projects.archlinux.org/srcpac.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 cd "$srcdir/$_gitname"
36 make DESTDIR="$pkgdir" install