cryptopp: move extraction step to post_get_source

This commit is contained in:
Leonid Pliushch 2020-10-23 01:09:37 +03:00
parent 3a9c6c0f73
commit 9c7b00dd49
1 changed files with 3 additions and 1 deletions

View File

@ -20,8 +20,10 @@ termux_step_get_source() {
mkdir -p $TERMUX_PKG_CACHEDIR
termux_download $TERMUX_PKG_SRCURL $TERMUX_PKG_CACHEDIR/cryptopp.zip \
$TERMUX_PKG_SHA256
mkdir -p $TERMUX_PKG_SRCDIR
}
termux_step_post_get_source() {
cd $TERMUX_PKG_SRCDIR
unzip $TERMUX_PKG_CACHEDIR/cryptopp.zip
}