#contributor Markus M. May <mmay AT javafreedom DOT org>

pkgname=archiso
pkgver=20091230
pkgrel=2
pkgdesc="ArchLinux livecd generation scripts"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/?p=archiso.git"
license=('GPL')
depends=('mkinitcpio' 'cdrkit' 'squashfs-tools' 'devtools' 'aufs2' 'aufs2-util' 'syslinux')
makedepends=('git')

_gitroot="git://github.com/triplem/archiso-lglive.git"
_gitname="initial"

source=()
md5sums=()

build() {
  cd ${srcdir}
  msg "Connecting to GIT server...."

  if [ -d $pkgname ] ; then
    cd $pkgname 
    git checkout $_gitname
    msg "The local files are updated."
  else
    git clone $_gitroot $pkgname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  cd ${srcdir}/${pkgname}/${pkgname}

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
