2021-09-20 15:24:11 +06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-09-25 20:24:03 +06:00
|
|
|
[ ! -f calibre-plugin/cryptography.zip ] && ./package_modules.sh
|
|
|
|
[ ! -f calibre-plugin/rsa.zip ] && ./package_modules.sh
|
|
|
|
[ ! -f calibre-plugin/asn1crypto.zip ] && ./package_modules.sh
|
|
|
|
[ ! -f calibre-plugin/oscrypto.zip ] && ./package_modules.sh
|
|
|
|
[ ! -f calibre-plugin/pyasn1.zip ] && ./package_modules.sh
|
2021-09-20 15:24:11 +06:00
|
|
|
|
|
|
|
pushd calibre-plugin
|
2021-11-25 14:15:37 +06:00
|
|
|
pushd keyextract
|
2021-11-20 19:14:59 +06:00
|
|
|
|
|
|
|
# Compile:
|
|
|
|
make
|
|
|
|
|
|
|
|
popd
|
2021-09-20 15:24:11 +06:00
|
|
|
|
2021-12-15 15:09:52 +06:00
|
|
|
echo -n "2021-12-15-01" > module_id.txt
|
|
|
|
|
2021-09-20 15:24:11 +06:00
|
|
|
zip -r ../calibre-plugin.zip *
|
|
|
|
|
|
|
|
popd
|
|
|
|
|