summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c174bcc4abe8af80d4ad1debe201bab783c51b61 (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.4
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=('dbd658b2c08efa8d0df0dd30c22032b6d257e9b88962d92bd9bc39994b9061b668d8f97e506506cf93d4803485ea793b0188196e406277bdf3f05e56f3e8d2eb')
sha512sums_aarch64=('dbd658b2c08efa8d0df0dd30c22032b6d257e9b88962d92bd9bc39994b9061b668d8f97e506506cf93d4803485ea793b0188196e406277bdf3f05e56f3e8d2eb')

package() {
	cd "${srcdir}"

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