go: clean up after install
This commit is contained in:
parent
493b865136
commit
3932e89010
|
@ -40,6 +40,7 @@ _go_targetarch() {
|
|||
}
|
||||
|
||||
do_extract() {
|
||||
rm -rf "${XBPS_BUILDDIR}/go_bootstrap"
|
||||
mkdir "${XBPS_BUILDDIR}/go_bootstrap"
|
||||
tar -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/go${_bootstrap_version}.src.tar.gz" \
|
||||
-C "${XBPS_BUILDDIR}/go_bootstrap" --strip-components=1
|
||||
|
@ -146,6 +147,7 @@ do_install() {
|
|||
|
||||
rm -f ${DESTDIR}/usr/share/go/doc/articles/wiki/get.bin
|
||||
rm -f ${DESTDIR}/usr/lib/go/pkg/tool/*/api
|
||||
rm -rf "${XBPS_BUILDDIR}/go_bootstrap"
|
||||
}
|
||||
|
||||
go-cross-linux_package() {
|
||||
|
|
Loading…
Reference in New Issue