appdwarf/apps/mkcalibre

11 lines
263 B
Plaintext
Raw Normal View History

2023-01-27 02:53:16 +00:00
#!/bin/sh
. "$(dirname "$0")"/appmk
part0
base=https://download.calibre-ebook.com
LINK="$(curl "$base" | tail -n 1 | cut -d\" -f2)"
2023-12-17 19:32:21 +00:00
LINK="$(curl "$base/$LINK" | tail -n 1 | cut -d\" -f4 | tr -d /)"
LINK="$base/$LINK/calibre-$LINK-$(uname -m).txz"
2023-01-27 02:53:16 +00:00
unxz
appa
part9