From aa002a1a2d8321f9c6b07b77b019376343bc03a4 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 29 Jan 2022 18:38:29 +0100 Subject: [PATCH] kicad-doc: don't build where kicad does not build --- srcpkgs/kicad-doc/template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srcpkgs/kicad-doc/template b/srcpkgs/kicad-doc/template index 0bdd249c7d..4591eb3b08 100644 --- a/srcpkgs/kicad-doc/template +++ b/srcpkgs/kicad-doc/template @@ -9,6 +9,14 @@ homepage="http://kicad.org" distfiles="https://kicad-downloads.s3.cern.ch/docs/${pkgname}-${version}.tar.gz" checksum=6093c99cfde827fb42fc351ef301f0dcad805f0c256ef02a0e82d9daafc238d3 +if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then + broken="kicad not available" +fi + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + broken="kicad not available" +fi + do_install() { vmkdir usr/ vcopy share/ usr/