[arch-commits] Commit in grub2-efi-x86_64/repos/extra-any (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Wed Mar 21 04:24:28 EDT 2012


    Date: Wednesday, March 21, 2012 @ 04:24:28
  Author: ronald
Revision: 153988

archrelease: copy trunk to extra-any

Deleted:
  grub2-efi-x86_64/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  107 -------------------------------------------------------------
 1 file changed, 107 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-21 08:22:43 UTC (rev 153987)
+++ PKGBUILD	2012-03-21 08:24:28 UTC (rev 153988)
@@ -1,107 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
-
-_grub_bzr_rev="4169"
-_pkgver="2.00~beta2"
-
-_grub_lua_ver="23"
-_grub_gpxe_ver="12"
-
-pkgname="grub2-efi-x86_64"
-pkgver="2.00beta2"
-pkgrel="1"
-epoch="1"
-pkgdesc="The GNU GRand Unified Bootloader version 2 - x86_64 UEFI version"
-url="http://www.gnu.org/software/grub/"
-arch=('any')
-license=('GPL3')
-
-makedepends=('xz' 'python' 'autogen' 'texinfo' 'help2man' 'gettext' 'device-mapper' 'fuse')
-depends=("grub2-common=${epoch}:${pkgver}" 'dosfstools' 'efibootmgr')
-
-options=('!strip' '!emptydirs')
-
-# source=("ftp://ftp.archlinux.org/other/grub2/grub_r${_grub_bzr_rev}.tar.xz"
-source=("http://alpha.gnu.org/gnu/grub/grub-${_pkgver}".tar.xz
-        "ftp://ftp.archlinux.org/other/grub2/grub2_extras_lua_r${_grub_lua_ver}.tar.xz"
-        "ftp://ftp.archlinux.org/other/grub2/grub2_extras_gpxe_r${_grub_gpxe_ver}.tar.xz"
-        'grub_extras_lua_args_fix.patch')
-
-noextract=("grub2_extras_lua_r${_grub_lua_ver}.tar.xz"
-           "grub2_extras_gpxe_r${_grub_gpxe_ver}.tar.xz")
-
-sha1sums=('2ba583f9466fb676b0ae3d7a9a82d1299b153a98'
-          'a09a4cbfd2f23699028ecd09c397bdc1bebf16aa'
-          'b04994c005910b4bf123f034b30109d5c8d6fd86'
-          'f7d4014d71aa2e693c57920b504f64bc792217ef')
-
-build() {
-
-	if [[ "${CARCH}" == 'i686' ]]; then
-		echo "This package can be built only in a x86_64 system. Exiting."
-		exit 1
-	fi
-
-	cd "${srcdir}/grub-${_pkgver}"
-
-	## add grub-extras
-	export GRUB_CONTRIB="${srcdir}/grub-${_pkgver}/grub-extras/" 
-	install -d "${srcdir}/grub-${_pkgver}/grub-extras"
-
-	bsdtar xf "${srcdir}/grub2_extras_lua_r${_grub_lua_ver}.tar.xz" \
-		-C "${srcdir}/grub-${_pkgver}/grub-extras"
-
-	bsdtar xf "${srcdir}/grub2_extras_gpxe_r${_grub_gpxe_ver}.tar.xz" \
-		-C "${srcdir}/grub-${_pkgver}/grub-extras"
-
-	## Fix args lua grub-extras
-	patch -Np1 -i "${srcdir}/grub_extras_lua_args_fix.patch"
-
-	## Requires python2
-	# sed 's|python |python2 |g' -i "${srcdir}/grub-${_pkgver}/autogen.sh"
-
-	## start the actual build process
-	cd "${srcdir}/grub-${_pkgver}/"
-	./autogen.sh
-
-	CFLAGS="" ./configure \
-		--with-platform="efi" \
-		--target="x86_64" \
-		--host="${CARCH}-unknown-linux-gnu" \
-		--disable-efiemu \
-		--enable-mm-debug \
-		--enable-nls \
-		--enable-device-mapper \
-		--enable-cache-stats \
-		--enable-grub-mkfont \
-		--enable-grub-mount \
-		--prefix="/usr" \
-		--bindir="/usr/bin" \
-		--sbindir="/usr/sbin" \
-		--mandir="/usr/share/man" \
-		--infodir="/usr/share/info" \
-		--datarootdir="/usr/share" \
-		--sysconfdir="/etc" \
-		--program-prefix="" \
-		--with-bootdir="/boot" \
-		--with-grubdir="grub" \
-		--disable-werror
-
-	CFLAGS="" make
-
-}
-
-package() {
-
-	cd "${srcdir}/grub-${_pkgver}"
-	make DESTDIR="${pkgdir}/" install 
-
-	## remove non platform-specific files
-	rm -rf "${pkgdir}"/{boot,etc,usr/{share,bin,sbin}}
-
-	## remove gdb debugging related files
-	rm -f "${pkgdir}/usr/lib/grub/x86_64-efi"/*.module || true
-	rm -f "${pkgdir}/usr/lib/grub/x86_64-efi"/*.image || true
-	rm -f "${pkgdir}/usr/lib/grub/x86_64-efi"/{kernel.exec,gdb_grub,gmodule.pl} || true
-
-}



More information about the arch-commits mailing list