diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-30 15:34:48 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-30 15:34:48 -0300 |
commit | 33696768316f3246527f8456e25e35210773a7ad (patch) | |
tree | fdf820b92cd0eaf0017799e94f251629abf76580 /pcr/lilo/PKGBUILD | |
parent | fa43dfaeefe908a1304087f7bcabc1b841e2af3f (diff) | |
download | abslibre-33696768316f3246527f8456e25e35210773a7ad.tar.gz abslibre-33696768316f3246527f8456e25e35210773a7ad.tar.bz2 abslibre-33696768316f3246527f8456e25e35210773a7ad.zip |
move lilo to pcr repo
Diffstat (limited to 'pcr/lilo/PKGBUILD')
-rw-r--r-- | pcr/lilo/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pcr/lilo/PKGBUILD b/pcr/lilo/PKGBUILD new file mode 100644 index 000000000..10d334b05 --- /dev/null +++ b/pcr/lilo/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Connor Behan <connor.behan@gmail.com> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +pkgname=lilo +pkgver=24.0 +pkgrel=1 +pkgdesc="A bootloader for GNU/Linux (Parabola rebranded)" +arch=('i686' 'x86_64') +url="https://alioth.debian.org/projects/lilo/" +license=('BSD') +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') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export LC_ALL=C + + sed -i -e 's/strip lilo.static/strip lilo.static || true/' src/Makefile + 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 + + # All binaries in /usr/bin + mkdir "${pkgdir}"/usr/bin + mv "${pkgdir}"/sbin/lilo "${pkgdir}"/usr/bin/ + mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/ + rm -rf "${pkgdir}"/sbin + rm -rf "${pkgdir}"/usr/sbin + + # Avoid conflict with syslinux + mv "${pkgdir}"/usr/bin/keytab-lilo "${pkgdir}"/usr/bin/keytab-lilo.pl +} +md5sums=('03d7090835a5675314082847f1ac7910' 'd06b3c4655577ed01fea79ec5743b4b0') |