diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-17 00:05:02 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:05 (GMT) |
commit | a256cea7231ed200a5dc44d4f15e9cbd5f04e6e6 (patch) | |
tree | 716f0a54cf6cfaea2295776f369a932cb4ae6125 /abs/extra/gnu-efi-libs/PKGBUILD | |
parent | 867f417be1293cd89097d00bd9422fb0b0cb345e (diff) | |
download | linhes_pkgbuild-a256cea7231ed200a5dc44d4f15e9cbd5f04e6e6.zip linhes_pkgbuild-a256cea7231ed200a5dc44d4f15e9cbd5f04e6e6.tar.gz linhes_pkgbuild-a256cea7231ed200a5dc44d4f15e9cbd5f04e6e6.tar.bz2 |
gnu-efi-libs: first include
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/extra/gnu-efi-libs/PKGBUILD')
-rw-r--r-- | abs/extra/gnu-efi-libs/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/abs/extra/gnu-efi-libs/PKGBUILD b/abs/extra/gnu-efi-libs/PKGBUILD new file mode 100644 index 0000000..7487c8b --- /dev/null +++ b/abs/extra/gnu-efi-libs/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +_pkgver="3.0" +pkgname="gnu-efi-libs" +pkgver="${_pkgver}u" +pkgrel="4" +pkgdesc="Library for building UEFI Applications using GNU toolchain" +url="http://sourceforge.net/projects/gnu-efi/" +license=('GPL') +arch=('x86_64' 'i686') +options=('!strip' '!makeflags' 'staticlibs') +makedepends=('pciutils') + +source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz") + +[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64" +[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32" + +build() { + + cd "${srcdir}/gnu-efi-${_pkgver}/" + + ## Unset all compiler FLAGS + unset CFLAGS + unset CPPFLAGS + unset CXXFLAGS + unset LDFLAGS + unset MAKEFLAGS + + make -j1 + make -j1 -C apps all + +} + +package() { + + cd "${srcdir}/gnu-efi-${_pkgver}/" + + make INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/lib" install + + install -d "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/" + install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/" + +} +md5sums=('d15d3c700e79a1e2938544d73edc572d') |