summaryrefslogtreecommitdiff
path: root/libre/lilo/PKGBUILD
blob: 2cf109efef40f28b7403c0828f1cc8c913f52b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id$
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>

pkgname=lilo
pkgver=23.2
pkgrel=3.1
pkgdesc="A bootloader for Linux (Parabola rebranded)"
arch=('i686' 'x86_64' 'mips64el')
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'
         'bab0a13b749690ce5e4f61bb1c10c065')

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"
}