2018-01-23 20:11:52 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
create_fdroid_package() {
|
|
|
|
ZIP="${CWD}/NanoDroid-fdroid-${VERSION}".zip
|
2018-11-10 07:56:59 +00:00
|
|
|
rm -f "${ZIP}"*
|
2018-01-23 20:11:52 +00:00
|
|
|
|
|
|
|
print_package "F-Droid"
|
|
|
|
|
|
|
|
cd "${CWD}/Full"
|
|
|
|
zip_add "system/app/FDroid/"
|
|
|
|
zip_add "system/priv-app/FDroidPrivileged/"
|
2018-03-27 08:47:16 +00:00
|
|
|
zip_add "system/etc/permissions/org.fdroid.fdroid.privileged.xml"
|
2018-10-20 11:45:26 +00:00
|
|
|
zip_add "system/etc/org.fdroid.fdroid/"
|
2018-03-28 22:12:19 +00:00
|
|
|
zip_add "system/xbin/unzip*"
|
2018-01-23 20:11:52 +00:00
|
|
|
cd "${CWD}"
|
|
|
|
|
|
|
|
cd "${CWD}/F-Droid"
|
|
|
|
zip_add
|
|
|
|
cd "${CWD}"
|
|
|
|
|
2018-03-15 19:17:41 +00:00
|
|
|
zip_add CommonInstaller
|
2018-04-10 17:59:36 +00:00
|
|
|
zip_add CommonAddon
|
2018-08-20 18:46:41 +00:00
|
|
|
zip_add busybox.arm
|
|
|
|
zip_add busybox.x86
|
2018-03-15 19:17:41 +00:00
|
|
|
|
2018-01-23 20:11:52 +00:00
|
|
|
zip_add_doc
|
|
|
|
zip_add_config .nanodroid-setup 0
|
2018-09-23 19:52:47 +00:00
|
|
|
|
|
|
|
sum_sign_package "${ZIP}"
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_fdroid () {
|
|
|
|
create_fdroid_package &
|
|
|
|
progress $!
|
|
|
|
}
|