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

Felix Yan felixonmars at archlinux.org
Sat May 16 10:58:17 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:58:17
  Author: felixonmars
Revision: 384224

archrelease: copy trunk to staging-x86_64

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

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

Copied: gnu-efi-libs/repos/staging-x86_64/PKGBUILD (from rev 384223, gnu-efi-libs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:58:17 UTC (rev 384224)
@@ -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.11
+pkgname="gnu-efi-libs"
+pkgver="${_pkgver}"
+pkgrel=2
+pkgdesc="Library for building UEFI Applications using GNU toolchain"
+url="https://sourceforge.net/projects/gnu-efi/"
+license=('GPL')
+arch=('x86_64')
+options=('!strip' '!makeflags' '!buildflags')
+makedepends=('pciutils')
+source=("https://download.sourceforge.net/gnu-efi/gnu-efi-${pkgver}.tar.bz2")
+md5sums=('21148bbcccec385a9bfdf5f678959577')
+
+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