# Maintainer: A. Husen pkgname=docker-slim-bin _pkgname=docker-slim pkgver=1.37.0 pkgrel=1 pkgdesc="Don't change anything in your Docker container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)" arch=('x86_64' 'aarch64') url="https://github.com/docker-slim/docker-slim" license=('Apache') provides=('docker-slim' 'docker-slim-sensor') conflicts=('docker-slim') source_x86_64=("$_pkgname-$pkgver.tar.gz::https://downloads.dockerslim.com/releases/${pkgver}/dist_linux.tar.gz") source_aarch64=("$_pkgname-$pkgver.tar.gz::https://downloads.dockerslim.com/releases/${pkgver}/dist_linux_arm64.tar.gz") sha512sums_x86_64=('1205b05f79c07df77f96c3bce2357457887782a01278512380b59d854f6139f1479b403f0d7a8811aaf7035f4df563b3218d899ddbc16e3b9d97dce90a1c5cfd') sha512sums_aarch64=('1205b05f79c07df77f96c3bce2357457887782a01278512380b59d854f6139f1479b403f0d7a8811aaf7035f4df563b3218d899ddbc16e3b9d97dce90a1c5cfd') package() { cd "${srcdir}" install -Dm755 "dist_linux"*"/$_pkgname" "${pkgdir}/usr/bin/${_pkgname}" install -Dm755 "dist_linux"*"/${_pkgname}-sensor" "${pkgdir}/usr/bin/${_pkgname}-sensor" }