From 6eacc0759bca4167f2dcd67ce43bca78cb2a06ca Mon Sep 17 00:00:00 2001 From: root Date: Fri, 5 Aug 2011 23:14:36 +0000 Subject: Fri Aug 5 23:14:36 UTC 2011 --- testing/lilo/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/lilo/PKGBUILD (limited to 'testing/lilo/PKGBUILD') diff --git a/testing/lilo/PKGBUILD b/testing/lilo/PKGBUILD new file mode 100644 index 000000000..c1c2863cf --- /dev/null +++ b/testing/lilo/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 134470 2011-08-04 06:48:32Z tpowa $ +# Maintainer: Eric Belanger +# Contributor: judd + +pkgname=lilo +pkgver=23.2 +pkgrel=2 +pkgdesc="A bootloader for Linux" +arch=('i686' 'x86_64') +url="https://alioth.debian.org/projects/lilo/" +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' 'sharutils') +optdepends=('perl: to use keytab-lilo') +install=lilo.install +options=('!makeflags') +source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz" + 'lilo.conf') +md5sums=('51b9b9db665d3b8724919e3d46054d12' + '4ae5986fe2f6bb7e20771ac7fea5343d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export LC_ALL=C + make all +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -D -m644 "${srcdir}/lilo.conf" "${pkgdir}/etc/lilo.conf" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} -- cgit v1.2.3-54-g00ecf