Merge pull request #688 from fewtarius/dev

Tweak rclone again.
This commit is contained in:
fewtarius 2022-10-31 06:12:41 -04:00 committed by GitHub
commit 0399372573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
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() {
:
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}*
}
makeinstall_target() {