sudo apt install libpam-dev export GOPATH=$HOME/go export PATH=$PATH:${GOPATH//://bin:}/bin go get "github.com/shuLhan/go-bindata" go get -d -u code.gitea.io/gitea cd $GOPATH/src/code.gitea.io/gitea/ git branch -a git checkout release/v1.7 TAGS="bindata sqlite sqlite_unlock_notify pam" make generate build