Tweak rclone again.
This commit is contained in:
parent
46ab61e22e
commit
f39a1f24d7
1 changed files with 4 additions and 10 deletions
|
@ -21,17 +21,11 @@ esac
|
|||
PKG_URL="https://downloads.rclone.org/v${PKG_VERSION}/rclone-v${PKG_VERSION}-linux-${RCLONE_ARCH}.zip"
|
||||
PKG_RCLONE="rclone-v${PKG_VERSION}-linux-${RCLONE_ARCH}/rclone"
|
||||
|
||||
pre_unpack() {
|
||||
if [ ! -e "${SOURCES}/rclone/rclone-${PKG_VERSION}-${RCLONE_ARCH}.zip" ]
|
||||
then
|
||||
unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
mv ${SOURCES}/rclone/rclone-${PKG_VERSION}.zip ${SOURCES}/rclone/rclone-${PKG_VERSION}-${RCLONE_ARCH}.zip
|
||||
unzip ${SOURCES}/rclone/rclone-${PKG_VERSION}-${RCLONE_ARCH}.zip -d ${PKG_BUILD}/
|
||||
rm -f ${SOURCES}/rclone/rclone-${PKG_VERSION}*
|
||||
fi
|
||||
}
|
||||
|
||||
unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
|
Loading…
Reference in a new issue