summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-27 23:49:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-27 23:49:51 -0300
commit288296a46ce416ec762d43b7cc1e9a4c4325993e (patch)
treebc9ec256f7f0e01c5537c39ddeeb38a87facb669 /libre/grub
parentf3e1170738311433f2984ece5e909ae4cff23177 (diff)
downloadabslibre-288296a46ce416ec762d43b7cc1e9a4c4325993e.tar.gz
abslibre-288296a46ce416ec762d43b7cc1e9a4c4325993e.tar.bz2
abslibre-288296a46ce416ec762d43b7cc1e9a4c4325993e.zip
grub: fix linguas.sh execution on PKGBUILD
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD11
1 files 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