aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Ramage <ramage.lucas@protonmail.com>2020-11-24 15:10:13 +0000
committerAndy Postnikov <apostnikov@gmail.com>2020-11-24 19:09:16 +0000
commitee728b9e1c8b498c3f75bae6b4eb93e4676c10db (patch)
tree9d675b19b451439cacca7d57bfbec9649880576c
parentaf55019f2efa454546effe1e5e5b519061ebfb9e (diff)
downloadaports-ee728b9e1c8b498c3f75bae6b4eb93e4676c10db.tar.gz
aports-ee728b9e1c8b498c3f75bae6b4eb93e4676c10db.tar.bz2
aports-ee728b9e1c8b498c3f75bae6b4eb93e4676c10db.tar.xz
community/img: upgrade to 0.5.11
fixes #12131
-rw-r--r--community/img/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/community/img/APKBUILD b/community/img/APKBUILD
index 6198eb9029..9794919964 100644
--- a/community/img/APKBUILD
+++ b/community/img/APKBUILD
@@ -1,26 +1,27 @@
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=img
-pkgver=0.5.10
+pkgver=0.5.11
pkgrel=0
pkgdesc="Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder"
url="https://github.com/genuinetools/img"
arch="x86_64"
license="MIT"
options="!check chmod-clean"
-depends="go runc shadow-uidmap"
-makedepends="bash libseccomp-dev"
+depends="runc shadow-uidmap"
+makedepends="bash go libseccomp-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/genuinetools/img/archive/v$pkgver.tar.gz"
-builddir="$srcdir/src/github.com/genuinetools/img"
+builddir="$srcdir/go/src/github.com/genuinetools/img"
+
+prepare() {
+ default_prepare
+ mkdir -p "$srcdir/go/src/github.com/genuinetools"
+ mv "$srcdir/$pkgname-$pkgver" "$builddir"
+}
build() {
- cd "$srcdir"
- export GOPATH="$PWD"
- mkdir -p "$(dirname "$builddir")"
- ln -s "$PWD/$pkgname-$pkgver" "$builddir"
- cd "$builddir"
- go get -u github.com/jteeuwen/go-bindata/...
+ export GOPATH="$srcdir/go"
make BUILDTAGS="seccomp noembed"
}
@@ -29,4 +30,4 @@ package() {
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
-sha512sums="8e4df8a781cc040a858254b537d7c4b53bb34a12e89eed724402c3c9f9c732dd2692d3c773a228b1f3525cc89d94b1ce9814fba7ac3123fb941471eedb8069a7 img-0.5.10.tar.gz"
+sha512sums="de80c2c26dd2fb780fb0447f07b5478e1571067ec934fb2adb32dff1aa3853ff872388b9c9c168c139194ab5d38672fb3b4c76c4f77fd8e61ce48bde8cae8c1b img-0.5.11.tar.gz"