Still broken and doesn't create a binary, even with make build, it even misses install -vDm755 gitea "$pkgdir/usr/bin/$pkgname"
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/forgejo-git.git (read-only, click to copy) |
|---|---|
| Package Base: | forgejo-git |
| Description: | Self-hosted, lightweight software forge. A "soft" fork of Gitea. |
| Upstream URL: | https://forgejo.org |
| Licenses: | MIT |
| Conflicts: | forgejo |
| Provides: | forgejo |
| Submitter: | diestl |
| Maintainer: | None |
| Last Packager: | MrHacker |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2022-12-20 17:30 (UTC) |
| Last Updated: | 2024-04-23 23:00 (UTC) |
Still broken and doesn't create a binary, even with make build, it even misses install -vDm755 gitea "$pkgdir/usr/bin/$pkgname"
it seems to build the binary
make build
should called it instead of make -j
// edit only tested it for the v7.0.2 tag
This created a package w/o binary:
$ pacman -Ql forgejo-git | grep bin
edit: ah yes, because install -Dm755 ${_pkgname}/gitea ... is not running
Specifying make -j over make isn't recommended; users should specify it in /etc/makepkg.conf's MAKEFLAGS field. See https://wiki.archlinux.org/title/Makepkg#Parallel_compilation
There is an error when building the latest version from the sources which is not compiling the binary, I will assume that it is a bug in the code please stay on version 7.0.0 or the one available in the extra repository
@MrHacker, simply taking the forgejo package that exists in the official repos and adapting it to have it build from the latest commit on the 'forgejo' branch yields good results for me. Consider doing the same.
building with make backend -j1 works
currently fails:
==> Starting package()... install: cannot stat 'forgejo/gitea': No such file or directory
I suspect some more stuff in the PKGBUILD has to be updated
Might want to update the description as forgejo is now a hard fork of gitea: https://forgejo.org/2024-02-forking-forward/