diff options
author | ava1ar | 2018-06-03 17:17:15 -0400 |
---|---|---|
committer | ava1ar | 2018-06-03 17:17:15 -0400 |
commit | c8b78e0e5a79b344a17ee17abd101ee4fefd7951 (patch) | |
tree | c26f24d23769310b41fb70974e89a0a2d5838466 /PKGBUILD | |
parent | a8da79b485def9dcd0d547ad77a4ba03f01c0001 (diff) | |
download | aur-c8b78e0e5a79b344a17ee17abd101ee4fefd7951.tar.gz |
Add fix for C.UTF-8 locale set by termina
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ _pkgname=cros-container-guest-tools pkgname=${_pkgname}-git pkgver=r44.45e9b92 -pkgrel=3 +pkgrel=4 pkgdesc="Guest tools for the Crostini containers on ChromeOS" arch=('any') license=('custom') @@ -13,10 +13,11 @@ optdepends=( ) install=cros-container-guest-tools.install url="https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools" -source=("git+${url}" 'cros-sftp-conditions.conf' 'cros-garcon-conditions.conf') +source=("git+${url}" 'cros-sftp-conditions.conf' 'cros-garcon-conditions.conf' 'cros-locale.sh') sha1sums=('SKIP' '3a2c55ecb22349265f26cdd021a436f5e0353c3d' - 'f10f9da29d3015a5e232050d666efa72ef90c98f') + 'f10f9da29d3015a5e232050d666efa72ef90c98f' + 'b5a315f5b8f474a31dc3576efa3ef19881ec80d6') pkgver() { cd ${srcdir}/${_pkgname} @@ -29,6 +30,10 @@ package() { install -m644 -D ${srcdir}/${_pkgname}/LICENSE \ ${pkgdir}/usr/share/licenses/cros-container-guest-tools/LICENSE + # install locale fix (to override C.UTF-8 locale, set to container by termina) + install -m755 -D ${srcdir}/cros-locale.sh \ + ${pkgdir}/etc/profile.d/cros-locale.sh + # Create required folder structure for systemd units mkdir -p ${pkgdir}/usr/lib/systemd/user/default.target.wants mkdir -p ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants |