diff --git a/rpms/unrar/metadata.yaml b/rpms/unrar/metadata.yaml index 617194f..2b0ee77 100644 --- a/rpms/unrar/metadata.yaml +++ b/rpms/unrar/metadata.yaml @@ -4,11 +4,11 @@ builds: - image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest release: '1' repository: [almalinux/el8] - version: '7.12' + version: '7.20' - image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest release: '1' repository: [almalinux/el9] - version: '7.12' + version: '7.20' description: WinRAR is a powerful archive manager. It can backup your data and reduce the size of email attachments, open and unpack RAR, ZIP and other files downloaded from Internet, create new archives in RAR and ZIP file format. github: unknown/unrar homepage: https://www.rarlab.com/ diff --git a/rpms/unrar/resources/build.sh b/rpms/unrar/resources/build.sh index 7fb6414..47c0e2b 100755 --- a/rpms/unrar/resources/build.sh +++ b/rpms/unrar/resources/build.sh @@ -4,7 +4,7 @@ set -e # Download and extract unrar (with version formatting) export DOWNLOAD_VERSION=$(echo $PACKAGE_VERSION | sed s/\\.//) -curl -L -o /app/rarlinux.tar.gz https://www.rarlab.com/rar/rarlinux-x64-${DOWNLOAD_VERSION}.tar.gz +curl -L -o /app/rarlinux.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/rarlab/rar/rarlinux-x64-${DOWNLOAD_VERSION}.tar.gz tar xf /app/rarlinux.tar.gz mv /app/rar/unrar /app/