diff --git a/srcpkgs/docker-machine-driver-kvm/template b/srcpkgs/docker-machine-driver-kvm/template new file mode 100644 index 0000000000..b5a5433f99 --- /dev/null +++ b/srcpkgs/docker-machine-driver-kvm/template @@ -0,0 +1,20 @@ +# Template file for 'docker-machine-driver-kvm' +pkgname=docker-machine-driver-kvm +version=0.10.1 +revision=1 +wrksrc="docker-machine-kvm-${version}" +build_style=go +go_import_path="github.com/dhiltgen/docker-machine-kvm" +go_package="github.com/dhiltgen/docker-machine-kvm/cmd/docker-machine-driver-kvm" +hostmakedepends="git pkg-config" +makedepends="libvirt-devel" +short_desc="KVM driver for docker-machine" +maintainer="Renato Aguiar " +license="Apache-2.0" +homepage="https://github.com/tdilauro/docker-machine-kvm" +distfiles="https://github.com/tdilauro/docker-machine-kvm/archive/v${version}.tar.gz" +checksum=9059d9b2221417fdba1d33505110b0ad833fe8abdc7314842b677e0241d5c719 + +if [ "$XBPS_TARGET_WORDSIZE" == "32" ]; then + broken="github.com/libvirt/libvirt-go/connect.go:181:77: constant 2147483648 overflows ConnectGetAllDomainStatsFlags" +fi