void-packages/srcpkgs/lxd/template
2018-07-09 20:22:15 +02:00

23 lines
804 B
Bash

# Template file for 'lxd'
pkgname=lxd
version=3.2
revision=1
build_style=go
go_import_path="github.com/lxc/lxd"
go_package="${go_import_path}/lxd ${go_import_path}/lxc"
hostmakedepends="git bzr pkg-config"
makedepends="lxc-devel acl-devel"
depends="lxc acl acl-progs rsync squashfs-tools xz dnsmasq iptables"
short_desc="LXD is a next generation system container manager"
maintainer="iaroki <iaroki@protonmail.com>"
license="Apache-2.0"
homepage="https://linuxcontainers.org/lxd"
distfiles="https://github.com/lxc/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz"
checksum=6a388e1e5ad26adf32fbe1abb2f6e35a3307fa8c48e924ee0ed802e246c63da1
system_groups="lxd"
post_install() {
vinstall scripts/bash/lxd-client 644 /usr/share/bash-completion/completions lxd
vlicense COPYING LICENSE
vsv lxd
}