summaryrefslogtreecommitdiff
path: root/libre/lilo/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-05 03:43:08 +0000
committerroot <root@rshg054.dnsready.net>2012-04-05 03:43:08 +0000
commita7f79fc1ced18c586d320033ac9738e98a21b550 (patch)
tree3e231470c27aca4f4eb50c7ed1ae563d46306e80 /libre/lilo/PKGBUILD
parent608a49084f8c6599f8adef56b6c1480c3e293c04 (diff)
Thu Apr 5 03:43:07 UTC 2012
Diffstat (limited to 'libre/lilo/PKGBUILD')
-rw-r--r--libre/lilo/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/libre/lilo/PKGBUILD b/libre/lilo/PKGBUILD
new file mode 100644
index 000000000..169037bc2
--- /dev/null
+++ b/libre/lilo/PKGBUILD
@@ -0,0 +1,44 @@
+# $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
+pkgdesc="A bootloader for Linux (Parabola rebranded)"
+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')
+replaces=('lilo')
+conflicts=('lilo')
+provides=("lilo=$pkgver")
+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"
+}