From 44209e62f1f8f0e9efe048846bb09e6eb51ea9f4 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 29 May 2014 04:09:56 +0000 Subject: Thu May 29 04:04:14 UTC 2014 --- extra/gnu-efi-libs/PKGBUILD | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'extra/gnu-efi-libs/PKGBUILD') diff --git a/extra/gnu-efi-libs/PKGBUILD b/extra/gnu-efi-libs/PKGBUILD index 28de86fd1..a081dd705 100644 --- a/extra/gnu-efi-libs/PKGBUILD +++ b/extra/gnu-efi-libs/PKGBUILD @@ -1,11 +1,14 @@ # Maintainer: Tobias Powalowski -# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> +# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> # Contributor: Alessio 'mOLOk' Bolognino +[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64" +[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32" + _pkgver="3.0" pkgname="gnu-efi-libs" -pkgver="${_pkgver}u" -pkgrel="4" +pkgver="${_pkgver}v" +pkgrel="2" pkgdesc="Library for building UEFI Applications using GNU toolchain" url="http://sourceforge.net/projects/gnu-efi/" license=('GPL') @@ -13,11 +16,13 @@ arch=('x86_64' 'i686') options=('!strip' '!makeflags' 'staticlibs') makedepends=('pciutils') -source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz") -md5sums=('d15d3c700e79a1e2938544d73edc572d') +source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz" + 'gnu-efi-3.0v-revert-makefile-commit.patch') -[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64" -[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32" +prepare() { + cd "${srcdir}/gnu-efi-${_pkgver}/" + patch -Np1 -R -i "${srcdir}/gnu-efi-3.0v-revert-makefile-commit.patch" +} build() { @@ -45,3 +50,6 @@ package() { install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/" } + +md5sums=('57f0a308c0e939e5d18e40840a5484a9' + '97ef85cd3d4aba2349aa1fab706568ab') -- cgit v1.2.3-54-g00ecf