tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recommended way to track upstream version in Makefile
On Wed, Jul 22, 2026 at 10:19:34PM +0100, m33 wrote:
> I updated again the gotosocial packages (see on pkgsrc-wip).
>
> I need a solution to easily track upstream releases in my packaging factory.
>
> It seems many packages hosted on github have a TAG variable to track
> github's release tag, I tried to to the same for gotosocial hosted on
> codeberg. Is it OK or is there a reserved variable name for it ?
>
> "
>
> CODEBERG_TAG= 0.22.1
>
> DISTNAME= gotosocial-${CODEBERG_TAG}-source-code
>
> "
That's one way, but usually I do something like
DISTNAME= gotosocial-${CODEBERG_TAG}-source-code
PKGNAME= ${DISTNAME:S/-source-code//}
and then use ${PKGVERSION_NOREV} where you would use ${CODEBERG_TAG}.
Thomas
Home |
Main Index |
Thread Index |
Old Index