void-packages/srcpkgs/containers/template

24 lines
540 B
Bash

# Template file for 'containers'
pkgname=containers
version=1.2
revision=2
hostmakedepends="git"
short_desc="Lightweight containers using Linux user namespaces"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://github.com/arachsys/containers"
do_fetch() {
git clone -b ${pkgname}-${version} \
git://github.com/arachsys/containers.git ${pkgname}-${version}
}
do_build() {
make CC=$CC CFLAGS="${CFLAGS}" ${makejobs}
}
do_install() {
vbin inject
vinstall contain 4755 usr/bin
vinstall pseudo 4755 usr/bin
}