2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

update build-package

This commit is contained in:
Christopher Roy Bratusek 2018-11-08 18:34:57 +01:00
parent 1fc92ea6ce
commit 1a0012d437
2 changed files with 29 additions and 2 deletions

View File

@ -5,7 +5,8 @@ CWD=$(readlink -m "${BASH_SOURCE[0]}")
CWD=$(dirname "${CWD}")
for funcfile in pkg-full pkg-microg pkg-fdroid \
pkg-misc update common download database; do
pkg-misc update common download database \
pkg-bromite; do
source "${CWD}/data/build-package.${funcfile}" || exit 1
done
@ -51,7 +52,7 @@ for opt in ${@}; do
;;
bromitewebview )
mkg_pkg_bromite_webview
mk_pkg_bromite_webview
;;
all )

View File

@ -0,0 +1,26 @@
#!/bin/bash
create_bromite_webview_package () {
ZIP="${CWD}/NanoDroid-BromiteWebView-${VERSION}".zip
rm -f "${ZIP}"
print_package "BromiteWebView"
cd "${CWD}/BromiteWebView"
zip_add
cd "${CWD}"
zip_add CommonInstaller
zip_add CommonAddon
zip_add busybox.arm
zip_add busybox.x86
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_bromite_webview () {
create_bromite_webview_package &
progress $!
}