mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
update build-package
This commit is contained in:
parent
1fc92ea6ce
commit
1a0012d437
@ -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 )
|
||||
|
26
data/build-package.pkg-bromite
Normal file
26
data/build-package.pkg-bromite
Normal 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 $!
|
||||
}
|
Loading…
Reference in New Issue
Block a user