diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index 5542ea1f901..1226771d518 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -37,11 +37,7 @@ make_dirs="/var/lib/gitea 0755 _gitea _gitea conf_files="/etc/gitea.conf" pre_build() { - path="${GOPATH}/src/${go_import_path}" - mkdir -vp "$(dirname ${path})" - ln -vfs $PWD "${path}" - - cd $path + cd $GOSRCPATH make generate cd $wrksrc }