summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 695a10637d1e112ac3a9876cfd4fea8f56cbf137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: A. Husen <hi@husen.id>
pkgname=docker-slim-bin
_pkgname=docker-slim
pkgver=1.36.0
pkgrel=2
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=('c5b3484c0a0670009450d1d7e74359fb2b22b4242282659243dfb13d463137586ace9294865a8fe0b9465e5cfa81dcd09c40b4b35bfdafff5fe1ca25838c23ad')
sha512sums_aarch64=('c5b3484c0a0670009450d1d7e74359fb2b22b4242282659243dfb13d463137586ace9294865a8fe0b9465e5cfa81dcd09c40b4b35bfdafff5fe1ca25838c23ad')

package() {
	cd "${srcdir}"

    install -Dm755 "dist_linux"*"/$_pkgname"                        "${pkgdir}/usr/bin/${_pkgname}"
    install -Dm755 "dist_linux"*"/${_pkgname}-sensor"               "${pkgdir}/usr/bin/${_pkgname}-sensor"
}