Cache depeneencies for aerc
on device builds
This commit is contained in:
parent
3ed4c8eec4
commit
9942832788
@ -10,4 +10,14 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_golang
|
||||
if $TERMUX_ON_DEVICE_BUILD; then
|
||||
export GOPATH=$TERMUX_PKG_SRCDIR/go
|
||||
if [ -d $TERMUX_PKG_CACHEDIR/go ]; then
|
||||
cp $TERMUX_PKG_CACHEDIR/go $GOPATH -r
|
||||
else
|
||||
go get
|
||||
cp $TERMUX_PKG_SRCDIR/go $TERMUX_PKG_CACHEDIR/go -r
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user