[arch-commits] Commit in grub2-efi-x86_64/repos (PKGBUILD testing-any)
Ronald van Haren
ronald at archlinux.org
Sat Jan 29 06:39:15 UTC 2011
Date: Saturday, January 29, 2011 @ 01:39:14
Author: ronald
Revision: 108040
archrelease: remove testing-any
Deleted:
grub2-efi-x86_64/repos/PKGBUILD
grub2-efi-x86_64/repos/testing-any/
----------+
PKGBUILD | 72 -------------------------------------------------------------
1 file changed, 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-29 06:36:40 UTC (rev 108039)
+++ PKGBUILD 2011-01-29 06:39:14 UTC (rev 108040)
@@ -1,72 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Keshav P R <skodabenz at rocketmail dot com>
-
-## This PKGBUILD has the same structure as the main grub2 split PKGBUILD for grub2-common, grub2-bios and grub2-efi-i386 .
-
-# _grub2_rev=3072
-
-_grub2_lua_ver=19
-_grub2_gpxe_ver=12
-
-pkgname="grub2-efi-x86_64"
-pkgver=1.99rc1
-pkgrel=1
-pkgdesc="The GNU GRand Unified Bootloader version 2 - x86_64 UEFI version"
-url="http://www.gnu.org/software/grub/"
-arch=('any')
-license=('GPL3')
-depends=("grub2-common=${pkgver}" 'dosfstools')
-optdepends=('efibootmgr')
-makedepends=('python2' 'xz' 'autogen' 'texinfo' 'help2man' 'gettext')
-options=(strip purge docs zipman !emptydirs)
-groups=('grub2')
-replaces=('grub2-efi-x64')
-
-source=("ftp://alpha.gnu.org/gnu/grub/grub-${pkgver}.tar.gz"
- "ftp://ftp.archlinux.org/other/grub2/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
- "ftp://ftp.archlinux.org/other/grub2/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz")
-
-noextract=("grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
- "grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz")
-
-
-
-build() {
- if [ "${CARCH}" = 'i686' ]; then
- echo "This package can be built only in a x86_64 system. Exiting."
- exit 1
- fi
-
- # add grub-extras
- export GRUB_CONTRIB=${srcdir}/grub2_efi-${pkgver}/grub2-extras/
- install -d ${srcdir}/grub-${pkgver}/grub2-extras
- bsdtar xf ${srcdir}/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz \
- -C ${srcdir}/grub-${pkgver}/grub2-extras
- bsdtar xf ${srcdir}/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz \
- -C ${srcdir}/grub-${pkgver}/grub2-extras
-
- ## need to use python2
- sed -i 's|python|python2|' ${srcdir}/grub2-${pkgver}/autogen.sh
-
- # start the actual build process
- cd ${srcdir}/grub2-${pkgver}
- ./autogen.sh
- CFLAGS="" ./configure --with-platform=efi \
- --target=x86_64 --host=${_HOST}-unknown-linux-gnu \
- --program-transform-name=s,grub,grub, \
- --enable-mm-debug --disable-efiemu \
- --enable-grub-mkfont --enable-nls \
- --prefix=/usr --bindir=/bin --sbindir=/sbin \
- --mandir=/usr/share/man --infodir=/usr/share/info \
- --sysconfdir=/etc
- CFLAGS="" make
-}
-
-package() {
- cd ${srcdir}/grub2-${pkgver}
- make DESTDIR=${pkgdir} install
-
- ## remove non platform-specific files
- rm -rf ${pkgdir}/{boot,bin,sbin,etc,usr/share}
- rm ${pkgdir}/usr/lib/grub/{grub-mkconfig_lib,update-grub_lib}
-}
More information about the arch-commits
mailing list