summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2bfa13d5aff6627434871f70ae7ec2a0631f2ce (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.37.3
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=('1dc81e0c19093cf4e6f26ca2c89558af7ae1cc982eabbd8a4748ce6f7c05ffa42c68095956f0f0bce92913f430f59cdf9b54031d5ce2e5e0b21fa7e7b62e8816')
sha512sums_aarch64=('1dc81e0c19093cf4e6f26ca2c89558af7ae1cc982eabbd8a4748ce6f7c05ffa42c68095956f0f0bce92913f430f59cdf9b54031d5ce2e5e0b21fa7e7b62e8816')

package() {
	cd "${srcdir}"

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