1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="Arch Linux livecd/liveusb generation scripts"
7 url="http://archlinux.org"
9 depends=('devtools' 'libisoburn' 'squashfs-tools')
10 optdepends=('qemu: quickly test isos')
17 _gitroot=git://projects.archlinux.org/archiso.git
22 msg "Connecting to projects.archlinux.org 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 if [ -d ${srcdir}/$_gitname-build ]; then
35 rm -rf ${srcdir}/$_gitname-build
38 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build || return 1
39 cd ${srcdir}/$_gitname-build/$_gitname || return 1
41 make DESTDIR="$pkgdir" install
44 # vim:set ts=2 sw=2 et: