Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
3 additions and
4 deletions
-
packages/caddy/build.sh
|
|
@ -12,12 +12,11 @@ termux_step_make() { |
|
|
|
mkdir -p $GOPATH/src/github.com/mholt/ |
|
|
|
cp -a $TERMUX_PKG_SRCDIR $GOPATH/src/github.com/mholt/caddy |
|
|
|
|
|
|
|
cd $GOPATH/src/github.com/mholt/caddy/caddy |
|
|
|
cd $GOPATH/src/github.com/mholt/caddy/cmd/caddy |
|
|
|
export GO111MODULE=on |
|
|
|
go build |
|
|
|
go build -v . |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_make_install() { |
|
|
|
install -Dm700 $GOPATH/src/github.com/mholt/caddy/caddy/caddy \ |
|
|
|
$TERMUX_PREFIX/bin/caddy |
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin $GOPATH/src/github.com/mholt/caddy/cmd/caddy/caddy |
|
|
|
} |
|
|
|