From 224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 26 Aug 2014 07:04:44 -0300 Subject: add parabola suffix on some packages --- libre/gummiboot-parabola/PKGBUILD | 52 +++++++++++++++++++++++++++ libre/gummiboot-parabola/gummiboot.install | 13 +++++++ libre/gummiboot-parabola/loader.conf | 2 ++ libre/gummiboot-parabola/parabola.conf | 7 ++++ libre/gummiboot-parabola/splash-parabola.bmp | Bin 0 -> 470410 bytes 5 files changed, 74 insertions(+) create mode 100644 libre/gummiboot-parabola/PKGBUILD create mode 100644 libre/gummiboot-parabola/gummiboot.install create mode 100644 libre/gummiboot-parabola/loader.conf create mode 100644 libre/gummiboot-parabola/parabola.conf create mode 100644 libre/gummiboot-parabola/splash-parabola.bmp (limited to 'libre/gummiboot-parabola') diff --git a/libre/gummiboot-parabola/PKGBUILD b/libre/gummiboot-parabola/PKGBUILD new file mode 100644 index 000000000..9abb522b2 --- /dev/null +++ b/libre/gummiboot-parabola/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 212780 2014-05-15 06:02:26Z tpowa $ +# Maintainer (Arch): Tom Gundersen +# Contributor (Arch): Tobias Powalowski +# Contributor (Arch): Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> +# Contributor (Arch): Mantas Mikulėnas +# Maintainer: André Silva + +_pkgname=gummiboot +pkgname=gummiboot-parabola +pkgver=45 +pkgrel=1 +pkgdesc="Simple UEFI Boot Manager (Parabola rebranded)" +url="http://freedesktop.org/wiki/Software/gummiboot" +arch=('x86_64' 'i686' 'mips64el') +license=('LGPL2.1') +makedepends=('gnu-efi-libs' 'docbook-xsl' 'git') +depends=('util-linux') +replaces=('gummiboot-efi' "${_pkgname}") +conflicts=('gummiboot-efi' "${_pkgname}") +provides=('gummiboot-efi' "${_pkgname}=${pkgver}") +options=('!strip' '!makeflags') +source=("git://anongit.freedesktop.org/$_pkgname#tag=$pkgver" + 'loader.conf' + 'parabola.conf' + 'splash-parabola.bmp') +install=gummiboot.install +md5sums=('SKIP' + '3d700d13aec5ab1b78a921eaf22e5bfa' + '36ee74767ac8734dede1cbd0f4f275d7' + 'c146ea0e16fff867164e113c48c91fff') + +build() { + cd ${srcdir}/${_pkgname} + + ./autogen.sh + ./configure --sysconfdir=/etc --with-efi-ldsdir=/usr/lib --libexecdir=/usr/lib --libdir=/usr/lib + + make +} + +package() { + ## Install gummiboot example configuration files (can go away with systemd's kernel-install) + install -D -m0644 "${srcdir}/loader.conf" "${pkgdir}/usr/lib/gummiboot/loader/loader.conf" + install -D -m0644 "${srcdir}/parabola.conf" "${pkgdir}/usr/lib/gummiboot/loader/entries/parabola.conf" + + ## ship an Parabola GNU/Linux-libre boot splash (still has to be dropped in manually to take effect) + install -D -m0644 "${srcdir}/splash-parabola.bmp" "${pkgdir}/usr/lib/gummiboot/splash-parabola.bmp" + + cd ${srcdir}/${_pkgname} + + make DESTDIR="${pkgdir}" install +} diff --git a/libre/gummiboot-parabola/gummiboot.install b/libre/gummiboot-parabola/gummiboot.install new file mode 100644 index 000000000..20861d4c8 --- /dev/null +++ b/libre/gummiboot-parabola/gummiboot.install @@ -0,0 +1,13 @@ +post_install() { + mkdir -p /boot/EFI/gummiboot + /usr/bin/gummiboot update + echo ":: Run '/usr/bin/gummiboot install' to make gummiboot your default bootloader" +} + +post_upgrade() { + /usr/bin/gummiboot update +} + +pre_remove() { + /usr/bin/gummiboot remove +} diff --git a/libre/gummiboot-parabola/loader.conf b/libre/gummiboot-parabola/loader.conf new file mode 100644 index 000000000..b8bfb988e --- /dev/null +++ b/libre/gummiboot-parabola/loader.conf @@ -0,0 +1,2 @@ +timeout 10 +default parabola diff --git a/libre/gummiboot-parabola/parabola.conf b/libre/gummiboot-parabola/parabola.conf new file mode 100644 index 000000000..111072ea2 --- /dev/null +++ b/libre/gummiboot-parabola/parabola.conf @@ -0,0 +1,7 @@ +## This is just an example config file. +## Please edit the paths and kernel parameters according to your system. + +title Parabola GNU/Linux-libre +linux /vmlinuz-linux-libre +initrd /initramfs-linux-libre.img +options root=PARTUUID=XXXX rootfstype=XXXX add_efi_memmap diff --git a/libre/gummiboot-parabola/splash-parabola.bmp b/libre/gummiboot-parabola/splash-parabola.bmp new file mode 100644 index 000000000..11ceeff28 Binary files /dev/null and b/libre/gummiboot-parabola/splash-parabola.bmp differ -- cgit v1.2.3-2-g168b