1 # Maintainer: Marcin Karpezo <sirmacik at gmail dot com>
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
8 pkgdesc="Current git tree of a bootloader for Linux"
10 url="https://alioth.debian.org/projects/lilo/"
15 backup=('etc/lilo.conf')
16 depends=('device-mapper' 'coreutils')
17 makedepends=('bin86' 'sharutils' 'git')
18 optdepends=('perl: to use keytab-lilo')
20 options=('!makeflags')
24 md5sums=('7f2cbe7272042af9e9a37345d0656030')
26 _gitroot="https://alioth.debian.org/anonscm/git/lilo/lilo.git"
31 msg "Connecting to GIT server...."
33 if [ -d $_gitname ] ; then
34 cd $_gitname && git pull origin
35 msg "The local files are updated."
37 git clone $_gitroot $_gitname
40 msg "GIT checkout done or server timeout"
41 msg "Starting make..."
43 rm -rf "$srcdir/$_gitname-build"
44 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
45 cd "$srcdir/$_gitname-build"
56 cd "$srcdir/$_gitname-build"
57 make DESTDIR="${pkgdir}" install
59 install -D -m644 "${srcdir}/lilo.conf" "${pkgdir}/etc/lilo.conf"
60 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"