summaryrefslogtreecommitdiff
path: root/extra/gnu-efi-libs/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-29 04:09:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-29 04:09:56 +0000
commit44209e62f1f8f0e9efe048846bb09e6eb51ea9f4 (patch)
tree97720b9f37a268443fe50a258ef16c587a02ec91 /extra/gnu-efi-libs/PKGBUILD
parentfc3a052d9f439abcf0ce424b7d45b682a5377087 (diff)
Thu May 29 04:04:14 UTC 2014
Diffstat (limited to 'extra/gnu-efi-libs/PKGBUILD')
-rw-r--r--extra/gnu-efi-libs/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
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 <tpowa@archlinux.org>
-# 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 <themolok@gmail.com>
+[[ "${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')