Browse Source

caddy: Update from 0.11.5 to 1.0.0

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
10648e0f01
  1. 9
      packages/caddy/build.sh

9
packages/caddy/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://caddyserver.com/
TERMUX_PKG_DESCRIPTION="Fast, cross-platform HTTP/2 web server"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=0.11.5
TERMUX_PKG_VERSION=1.0.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=ab2dc210bc7089fa7d041e702663e592b480945aa99f14b348090091103b7ec5
TERMUX_PKG_SHA256=1c8b435a79e21b9832c7a8a88c44e70bc80434ca3719853d2b1092ffbbbbff7d
TERMUX_PKG_SRCURL=https://github.com/mholt/caddy/archive/v$TERMUX_PKG_VERSION.tar.gz
termux_step_make() {
@ -14,7 +14,12 @@ termux_step_make() {
cp -a $TERMUX_PKG_SRCDIR $GOPATH/src/github.com/mholt/caddy
cd $GOPATH/src/github.com/mholt/caddy/caddy
export GO111MODULE=on
go build
# Fix folders without write permissions preventing which fails repeating builds:
cd $TERMUX_PKG_BUILDDIR
find . -type d -exec chmod u+w {} \;
}
termux_step_make_install() {

Loading…
Cancel
Save