summaryrefslogtreecommitdiff
path: root/libre/gummiboot-parabola/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
commit224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 (patch)
tree21f0f00d6ca7a856bde8310b4558a527717a6d85 /libre/gummiboot-parabola/PKGBUILD
parent317a3b1d822c252c9f341170cf47a85d72cddde6 (diff)
downloadabslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.gz
abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.bz2
abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.zip
add parabola suffix on some packages
Diffstat (limited to 'libre/gummiboot-parabola/PKGBUILD')
-rw-r--r--libre/gummiboot-parabola/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
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 <teg@jklm.no>
+# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
+# Contributor (Arch): Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor (Arch): Mantas Mikulėnas <grawity@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_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
+}