blob: 44b5d2611a0d990e2937b11969c44cce0de1d8ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: pandada8 <pandada8@gmail.com>
pkgname=img-git
pkgver=v0.5.7.r9.ge16396e0
pkgrel=1
pkgdesc="Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder"
arch=('x86_64')
url="https://github.com/genuinetools/img"
license=('MIT')
depends=('runc')
makedepends=('go' 'git')
conflicts=("img" "img-bin")
license=("MIT")
source=(
"git+https://github.com/genuinetools/img.git"
)
md5sums=('SKIP')
pkgver () {
cd img
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd img
export GOFLAGS=-mod=vendor
make BUILDTAGS="seccomp noembed"
}
package() {
install -D "${srcdir}/img/img" "${pkgdir}/usr/bin/img"
}
# vim:set ts=2 sw=2 et:
|