darch: enable on ppc64le

[ci skip]
This commit is contained in:
q66 2019-01-28 22:30:20 +01:00 committed by maxice8
parent d27e329f66
commit c0192fa837

View File

@ -2,21 +2,17 @@
pkgname=darch pkgname=darch
version=0.20.0 version=0.20.0
revision=3 revision=3
only_for_archs="x86_64 x86_64-musl ppc64le ppc64le-musl"
build_style=go build_style=go
go_import_path=github.com/godarch/darch go_import_path=github.com/godarch/darch
conf_files="/etc/darch/hooks/ssh/hook /etc/darch/hooks/hostname/hook /etc/darch/hooks/fstab/hook"
make_dirs="/var/lib/darch 0755 root root"
hostmakedepends="git go" hostmakedepends="git go"
depends="containerd" depends="containerd"
only_for_archs="x86_64 x86_64-musl"
short_desc="Tool for building/booting stateless and immutable images, bare metal" short_desc="Tool for building/booting stateless and immutable images, bare metal"
maintainer="Paul Knopf <pauldotknopf@gmail.com>" maintainer="Paul Knopf <pauldotknopf@gmail.com>"
license="MIT" license="MIT"
homepage="https://godarch.com/" homepage="https://godarch.com/"
make_dirs="/var/lib/darch 0755 root root"
conf_files="/etc/darch/hooks/ssh/hook /etc/darch/hooks/hostname/hook /etc/darch/hooks/fstab/hook"
if [ "$XBPS_TARGET_MACHINE" != "x86_64" -a "$XBPS_TARGET_MACHINE" != "x86_64-musl" ]; then
broken="Darch is only usable on 64-bit systems."
fi
do_fetch() { do_fetch() {
mkdir -p "$(dirname ${GOSRCPATH})" mkdir -p "$(dirname ${GOSRCPATH})"