acsm-calibre-plugin/bundle_calibre_plugin.sh

21 lines
417 B
Bash
Raw Normal View History

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
pushd key-wine
# Compile:
make
popd
2021-09-20 15:24:11 +06:00
zip -r ../calibre-plugin.zip *
popd