diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -3,17 +3,19 @@ _name=azcopy pkgname=azcopy-bin pkgver=10.24.0 -pkgrel=3 +pkgrel=4 pkgdesc="A command-line utility that you can use to copy data to and from containers and file shares in Azure Storage accounts." arch=('x86_64') url="https://github.com/Azure/azure-storage-azcopy" license=('MIT') -provides=("${_name}") +provides=("${_name}=${pkgver}") conflicts=("${_name}") -source=("https://aka.ms/downloadazcopy-v10-linux") -sha256sums=('4932dd2bd3b97631938ab2bf9f73b73a7a2a9b62f0daa9341006fc64c4833883') +source=("LICENSE-${pkgver}::https://raw.githubusercontent.com/Azure/azure-storage-azcopy/v${pkgver}/LICENSE") +source_x86_64=("${_name}-bin-${pkgver}-x86_64::https://aka.ms/downloadazcopy-v10-linux") +sha256sums=('e9ca6f8518c969a4d3bb98030581771975a90730a27d294123855c90a31eddcc') +sha256sums_x86_64=('4932dd2bd3b97631938ab2bf9f73b73a7a2a9b62f0daa9341006fc64c4833883') package() { - install -Dm755 "${_name}_linux_amd64_${pkgver}/${_name}" "$pkgdir"/usr/bin/"${_name}" - install -Dm644 "${_name}_linux_amd64_${pkgver}/${_name}" -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm755 "${srcdir}/${_name}_linux_amd64_${pkgver}/${_name}" "${pkgdir}/usr/bin/${_name}" + install -Dm644 "${srcdir}/LICENSE-${pkgver}" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } |