mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
go: clean up after install
This commit is contained in:
parent
493b865136
commit
3932e89010
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ _go_targetarch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
|
rm -rf "${XBPS_BUILDDIR}/go_bootstrap"
|
||||||
mkdir "${XBPS_BUILDDIR}/go_bootstrap"
|
mkdir "${XBPS_BUILDDIR}/go_bootstrap"
|
||||||
tar -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/go${_bootstrap_version}.src.tar.gz" \
|
tar -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/go${_bootstrap_version}.src.tar.gz" \
|
||||||
-C "${XBPS_BUILDDIR}/go_bootstrap" --strip-components=1
|
-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/share/go/doc/articles/wiki/get.bin
|
||||||
rm -f ${DESTDIR}/usr/lib/go/pkg/tool/*/api
|
rm -f ${DESTDIR}/usr/lib/go/pkg/tool/*/api
|
||||||
|
rm -rf "${XBPS_BUILDDIR}/go_bootstrap"
|
||||||
}
|
}
|
||||||
|
|
||||||
go-cross-linux_package() {
|
go-cross-linux_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue