summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-28 00:32:41 -0700
committerroot <root@rshg054.dnsready.net>2013-06-28 00:32:41 -0700
commit0a66b29837912ffee94e074fc35ba46896a96f2a (patch)
treea80241ce657a9ebef8d45ca5cc48b670c3c3b626 /libre/grub
parent7851c02115b35e64fc3b827b29c79023d4518f6f (diff)
Fri Jun 28 00:32:41 PDT 2013
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD
index 59c7dbe0a..56d994beb 100644
--- a/libre/grub/PKGBUILD
+++ b/libre/grub/PKGBUILD
@@ -13,7 +13,7 @@ _GRUB_BZR_REV="5043"
pkgname=grub
pkgdesc="GNU GRand Unified Bootloader (2), (Parabola rebranded)"
pkgver=2.00.${_GRUB_BZR_REV}
-pkgrel=1
+pkgrel=2
url="https://www.gnu.org/software/grub/"
arch=('x86_64' 'i686')
license=('GPL3')
@@ -26,7 +26,7 @@ replaces=('grub-common' 'grub-bios' "grub-efi-${_EFI_ARCH}")
provides=('grub-common' 'grub-bios' "grub-efi-${_EFI_ARCH}")
makedepends=('xz' 'freetype2' 'bdf-unifont' 'ttf-dejavu' 'python' 'autogen'
- 'texinfo' 'help2man' 'gettext' 'device-mapper' 'fuse' 'bzr')
+ 'texinfo' 'help2man' 'gettext' 'device-mapper' 'fuse' 'bzr' 'rsync')
depends=('sh' 'xz' 'gettext' 'device-mapper')
optdepends=('freetype2: For grub-mkfont usage'
'fuse: For grub-mount usage'
@@ -159,7 +159,7 @@ _build_grub-efi() {
}
-build() {
+prepare() {
## Set ARCH dependent variables
if [[ "${CARCH}" == 'x86_64' ]]; then
@@ -182,7 +182,18 @@ build() {
## Requires python2
# sed 's|python |python2 |g' -i "${srcdir}/grub-${pkgver}/autogen.sh"
-
+
+ ## pull in language files
+ ./linguas.sh
+
+}
+
+build() {
+
+ cd "${srcdir}/grub-${pkgver}/"
+
+ # remove not working langs which need LC_ALL=C.UTF-8
+ sed -i -e 's#en@cyrillic en@greek##g' po/LINGUAS
_build_grub-common_and_bios
echo