[arch-commits] Commit in podman/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Oct 30 13:05:08 UTC 2019
Date: Wednesday, October 30, 2019 @ 13:05:07
Author: bpiotrowski
Revision: 520975
1.6.2-1
Modified:
podman/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-30 13:02:17 UTC (rev 520974)
+++ PKGBUILD 2019-10-30 13:05:07 UTC (rev 520975)
@@ -2,7 +2,7 @@
pkgbase=podman
pkgname=(podman podman-docker)
-pkgver=1.6.1
+pkgver=1.6.2
pkgrel=1
pkgdesc='Tool and library for running OCI-based containers in pods'
arch=(x86_64)
@@ -11,11 +11,17 @@
depends=(cni-plugins conmon device-mapper iptables libseccomp ostree runc skopeo
btrfs-progs slirp4netns libsystemd)
makedepends=(go-pie go-md2man git)
-source=(libpod-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
-sha256sums=('4593916eabbc83f978f0e668fbaa64dd44b8cacc85c6e2ab66c2d782af50dec9')
+_commit=f3ffda1e08f19e9a6a88484136b5eed76533f21a
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
-prepare(){
- cd libpod-$pkgver
+pkgver() {
+ cd libpod
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd libpod
sed -i '/^LDFLAGS_PODMAN ?=/s/$(LDFLAGS)//' Makefile
}
@@ -25,7 +31,7 @@
export CGO_LDFLAGS=$LDFLAGS
export GOFLAGS="-trimpath"
- cd libpod-$pkgver
+ cd libpod
make
}
@@ -32,7 +38,7 @@
package_podman() {
optdepends=('podman-docker: for Docker-compatible CLI')
- cd libpod-$pkgver
+ cd libpod
make install install.completions install.config DESTDIR="$pkgdir" PREFIX=/usr
}
@@ -41,6 +47,6 @@
depends=(podman)
conflicts=(docker)
- cd libpod-$pkgver
+ cd libpod
make install.docker DESTDIR="$pkgdir" PREFIX=/usr
}
More information about the arch-commits
mailing list