acsm-calibre-plugin/bundle_calibre_plugin.sh
2021-11-25 09:15:37 +01:00

21 lines
419 B
Bash
Executable File

#!/bin/bash
[ ! -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
pushd calibre-plugin
pushd keyextract
# Compile:
make
popd
zip -r ../calibre-plugin.zip *
popd