From 288296a46ce416ec762d43b7cc1e9a4c4325993e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 27 Jun 2013 23:49:51 -0300 Subject: grub: fix linguas.sh execution on PKGBUILD --- libre/grub/PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD index 7f7ed7309..56d994beb 100644 --- a/libre/grub/PKGBUILD +++ b/libre/grub/PKGBUILD @@ -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 @@ -185,6 +185,13 @@ build() { ## 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 -- cgit v1.2.3