PKGBUILDs/core/lilo/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# $Id: PKGBUILD 51290 2009-09-07 06:43:10Z tpowa $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=lilo
pkgver=22.8
pkgrel=3
pkgdesc="A bootloader for Linux"
arch=(i686 x86_64)
#url="http://lilo.go.dyndns.org" - seems down
url="ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/!INDEX.html"
license=('BSD')
# While lilo should stay in the base category,
# it usually makes no sense if it is installed
# with pacman -S base, therefore, don't add
# the base group here.
#groups=('base')
backup=(etc/lilo.conf)
depends=(device-mapper coreutils)
makedepends=(bin86)
install=lilo.install
options=(!makeflags)
source=(#http://home.san.rr.com/johninsd/pub/linux/lilo/lilo-$pkgver.src.tar.gz
ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/lilo-$pkgver.src.tar.gz
lilo.conf)
md5sums=('72765f2aafd20e23ecf07ebd22baeec7'
'a3a4c90bead3f9b8672bd384ff9f8db1')
build() {
cd $srcdir/$pkgname-$pkgver
LANG=EN_US
make all || return 1
make ROOT=$pkgdir MAN_DIR=/usr/share/man install
mkdir -p $pkgdir/etc
cp $startdir/$pkgname.conf $pkgdir/etc/
# install license
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/license.txt
}