chromium: install .pak files and locales with proper permissions.
This commit is contained in:
parent
2ac3d93aba
commit
73003774c8
1 changed files with 8 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'chromium'
|
||||
pkgname=chromium
|
||||
version=20.0.1132.47
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc=$pkgname
|
||||
create_wrksrc=yes
|
||||
create_srcdir=yes
|
||||
|
@ -88,11 +88,14 @@ do_install() {
|
|||
vinstall out/Release/nacl_helper_bootstrap 755 usr/lib/$pkgname
|
||||
vcopy "out/Release/nacl_irt_*.nexe" usr/lib/${pkgname}
|
||||
fi
|
||||
vcopy "out/Release/*.pak" usr/lib/$pkgname
|
||||
|
||||
for f in locales resources; do
|
||||
vcopy out/Release/${f} usr/lib/chromium
|
||||
for f in out/Release/*.pak; do
|
||||
vinstall ${f} 644 usr/lib/${pkgname}
|
||||
done
|
||||
for f in out/Release/locales/*.pak; do
|
||||
vinstall ${f} 644 usr/lib/${pkgname}/locales
|
||||
done
|
||||
vcopy out/Release/resources usr/lib/${pkgname}
|
||||
|
||||
find ${DESTDIR}/usr/lib/chromium/ -name '*.d' -type f -delete
|
||||
vinstall out/Release/chrome.1 644 usr/share/man/man1 chromium.1
|
||||
vinstall ${FILESDIR}/chromium.desktop 644 usr/share/applications
|
||||
|
|
Loading…
Reference in a new issue