mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-07 15:20:36 +00:00
34 lines
471 B
Bash
34 lines
471 B
Bash
#!/bin/bash
|
|
|
|
create_osmand_package() {
|
|
ZIP="${CWD}/NanoDroid-OsmAnd-${VERSION}".zip
|
|
rm -f "${ZIP}"*
|
|
|
|
print_package "OsmAnd"
|
|
|
|
cd "${CWD}/Full"
|
|
zip_add "system/xbin/unzip*"
|
|
cd "${CWD}"
|
|
|
|
cd "${CWD}/OsmAnd"
|
|
zip_add
|
|
cd "${CWD}"
|
|
|
|
zip_add CommonInstaller
|
|
zip_add CommonAddon
|
|
|
|
cd "${CWD}/tools"
|
|
zip_add "busybox*"
|
|
cd "${CWD}"
|
|
|
|
zip_add_doc
|
|
zip_add_config .nanodroid-setup 0
|
|
|
|
sum_sign_package "${ZIP}"
|
|
}
|
|
|
|
mk_pkg_osmand () {
|
|
create_osmand_package &
|
|
progress $!
|
|
}
|