From dee5a098f7d03274532eff1b0ec89c76bd763d73 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 16 Nov 2019 01:16:53 +0100 Subject: [PATCH] go1.4-bootstrap: remove [ci skip] --- srcpkgs/go1.4-bootstrap/INSTALL.msg | 1 + srcpkgs/go1.4-bootstrap/template | 46 ++++------------------------- srcpkgs/go1.4-bootstrap/update | 1 - 3 files changed, 6 insertions(+), 42 deletions(-) create mode 100644 srcpkgs/go1.4-bootstrap/INSTALL.msg delete mode 100644 srcpkgs/go1.4-bootstrap/update diff --git a/srcpkgs/go1.4-bootstrap/INSTALL.msg b/srcpkgs/go1.4-bootstrap/INSTALL.msg new file mode 100644 index 00000000000..08a1818a6af --- /dev/null +++ b/srcpkgs/go1.4-bootstrap/INSTALL.msg @@ -0,0 +1 @@ +go1.4-bootstrap is no longer provided by Void Linux, and will be fully removed from the repos on 2020-02-17 diff --git a/srcpkgs/go1.4-bootstrap/template b/srcpkgs/go1.4-bootstrap/template index 2a773815693..2804d28e012 100644 --- a/srcpkgs/go1.4-bootstrap/template +++ b/srcpkgs/go1.4-bootstrap/template @@ -1,46 +1,10 @@ # Template file for 'go1.4-bootstrap' pkgname=go1.4-bootstrap version=20171003 -revision=1 -create_wrksrc=yes -build_wrksrc="go" -short_desc="Go 1.4 (bootstrap compiler)" +revision=2 +archs=noarch +build_style=meta +short_desc="Go 1.4 (bootstrap compiler) (removed package)" maintainer="Michael Aldridge " -license="3-clause-BSD" +license="BSD-3-Clause" homepage="https://golang.org" -distfiles="https://dl.google.com/go/go1.4-bootstrap-${version}.tar.gz" -checksum=f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52 - -archs="x86_64* i686*" - -nostrip=yes -noverifyrdeps=yes - -do_build() { - unset GCC CC CXX LD CFLAGS CXXFLAGS - # FIXME: work around leaking go build-style vars when built as a - # dependency - unset CGO_CXXFLAGS CGO_CFLAGS CGO_ENABLED - - env > ENV.${XBPS_TARGET_MACHINE} - case "${XBPS_TARGET_MACHINE}" in - aarch64*) _goarch=arm64 ;; - arm*) _goarch=arm ;; - i686*) _goarch=386 ;; - x86_64*) _goarch=amd64 ;; - *) _goarch=${XBPS_TARGET_MACHINE} ;; - esac - - export GOROOT="${PWD}" - export GOARCH="${_goarch}" - cd src - GOROOT_FINAL="/usr/lib/go1.4" ./make.bash -} - -do_install() { - vmkdir usr/lib/go1.4 - vcopy bin usr/lib/go1.4 - vcopy src usr/lib/go1.4 - vcopy pkg usr/lib/go1.4 - vlicense LICENSE -} diff --git a/srcpkgs/go1.4-bootstrap/update b/srcpkgs/go1.4-bootstrap/update deleted file mode 100644 index 4ac9d274ba6..00000000000 --- a/srcpkgs/go1.4-bootstrap/update +++ /dev/null @@ -1 +0,0 @@ -site="https://golang.org/doc/install/source"