podman: adapt to PREFIX changes

Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
This commit is contained in:
Cameron Nemo 2019-06-23 07:46:13 -07:00 committed by Leah Neukirchen
parent 3a6f6b4095
commit 4e0b07333d

View file

@ -1,7 +1,7 @@
# Template file for 'podman'
pkgname=podman
version=1.4.2
revision=1
revision=2
wrksrc="libpod-${version}"
build_style=go
go_import_path="github.com/containers/libpod"
@ -23,7 +23,7 @@ if [ "$CROSS_BUILD" ]; then
fi
post_install() {
make install.man PREFIX="${DESTDIR}/usr" DESTDIR="${DESTDIR}"
make install.man DESTDIR="${DESTDIR}" PREFIX="/usr"
make install.cni DESTDIR="${DESTDIR}"
vinstall completions/bash/podman 644 usr/share/bash-completion/completions
sed 's|cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' libpod.conf >libpod.cgfs.conf