hub: rebuild for go-1.23.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'hub'
|
# Template file for 'hub'
|
||||||
pkgname=hub
|
pkgname=hub
|
||||||
version=2.14.2
|
version=2.14.2
|
||||||
revision=4
|
revision=5
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/github/hub
|
go_import_path=github.com/github/hub
|
||||||
hostmakedepends="git groff"
|
hostmakedepends="git groff"
|
||||||
@@ -18,6 +18,8 @@ if [ "$CROSS_BUILD" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
# needs col(1), which is only built on glibc
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = glibc ]; then
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -e 's|bin/hub|hub|g' -i Makefile
|
vsed -e 's|bin/hub|hub|g' -i Makefile
|
||||||
|
|
||||||
@@ -41,6 +43,7 @@ post_install() {
|
|||||||
for d in share/doc/hub-doc/*.html; do
|
for d in share/doc/hub-doc/*.html; do
|
||||||
vdoc $d
|
vdoc $d
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user