diff options
author | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
commit | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (patch) | |
tree | ef49797b1f76586e9f8281e301a4923d90f29aa7 /extra/gnu-efi-libs/PKGBUILD | |
parent | 3cfedd8a4ed1e5464ef328d91b1a224aedc07960 (diff) |
Sat Oct 13 00:57:48 PDT 2012
Diffstat (limited to 'extra/gnu-efi-libs/PKGBUILD')
-rw-r--r-- | extra/gnu-efi-libs/PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/gnu-efi-libs/PKGBUILD b/extra/gnu-efi-libs/PKGBUILD index f71cd69b5..2799ac0d9 100644 --- a/extra/gnu-efi-libs/PKGBUILD +++ b/extra/gnu-efi-libs/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 167140 2012-09-26 06:30:46Z tpowa $ +# $Id: PKGBUILD 168460 2012-10-12 06:35:15Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Maintainer : Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> _pkgver="3.0" pkgname="gnu-efi-libs" -pkgver="${_pkgver}q" +pkgver="${_pkgver}r" pkgrel="1" pkgdesc="Library for building x86_64 and i386 UEFI Applications using GNU toolchain" url="http://sourceforge.net/projects/gnu-efi/" @@ -19,8 +19,7 @@ conflicts=('gnu-efi') provides=('gnu-efi') replaces=('gnu-efi') options=('!strip' '!makeflags') -source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz") -sha1sums=('99d29be5fd17dfca762cf0e265477862c21d63bb') +source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz" gnu-efi-libs-x86_64-call-fix.patch) _build_gnu-efi-libs-x86_64() { cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-x86_64" @@ -36,12 +35,15 @@ _build_gnu-efi-libs-i386() { ARCH="ia32" make -C apps all } -build() { +build() { + cd ${srcdir}/gnu-efi-${_pkgver} + # fix http://sourceforge.net/tracker/?func=detail&aid=3576537&group_id=163609&atid=828423 + patch -Np1 -i ../gnu-efi-libs-x86_64-call-fix.patch ## Fix Makefiles to enable compile for both UEFI arch - sed 's|INSTALLROOT=/usr/local|INSTALLROOT ?= /usr/lib|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" - sed 's|LIBDIR=lib|LIBDIR ?= lib|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" - sed 's|ARCH :=|ARCH ?=|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" - sed 's|-fno-strict-aliasing|-fno-strict-aliasing -fno-stack-protector|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" + sed 's|INSTALLROOT=/usr/local|INSTALLROOT ?= /usr/lib|g' -i Make.defaults + sed 's|LIBDIR=lib|LIBDIR ?= lib|g' -i Make.defaults + sed 's|ARCH :=|ARCH ?=|g' -i Make.defaults + sed 's|-fno-strict-aliasing|-fno-strict-aliasing -fno-stack-protector|g' -i Make.defaults if [[ "${CARCH}" == "x86_64" ]]; then _build_gnu-efi-libs-x86_64 fi @@ -73,3 +75,5 @@ package() { _package_gnu-efi-libs-i386 fi } +md5sums=('c5081850414bec34d3e254e8e970811b' + '4b5428c51af1981d3eb158d924d6bf85') |