[arch-commits] Commit in gnu-efi-libs/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Thu Mar 15 05:08:27 UTC 2018


    Date: Thursday, March 15, 2018 @ 05:08:26
  Author: anatolik
Revision: 319154

archrelease: copy trunk to testing-x86_64

Added:
  gnu-efi-libs/repos/testing-x86_64/
  gnu-efi-libs/repos/testing-x86_64/PKGBUILD
    (from rev 319153, gnu-efi-libs/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: gnu-efi-libs/repos/testing-x86_64/PKGBUILD (from rev 319153, gnu-efi-libs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-03-15 05:08:26 UTC (rev 319154)
@@ -0,0 +1,34 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64"
+[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32"
+
+_pkgver=3.0.8
+pkgname="gnu-efi-libs"
+pkgver="${_pkgver}"
+pkgrel=1
+pkgdesc="Library for building UEFI Applications using GNU toolchain"
+url="http://sourceforge.net/projects/gnu-efi/"
+license=('GPL')
+arch=('x86_64')
+options=('!strip' '!makeflags' '!buildflags')
+makedepends=('pciutils')
+source=("http://download.sourceforge.net/gnu-efi/gnu-efi-${pkgver}.tar.bz2")
+md5sums=('ae32011cfe6b1c40c0f244b9a49ba181')
+
+build() {
+	cd "${srcdir}/gnu-efi-${_pkgver}/"
+
+	make lib gnuefi inc apps
+}
+
+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}/${_EFI_ARCH}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/"
+}



More information about the arch-commits mailing list