You are not logged in.

#1 2023-01-03 16:21:38

the_masala_man
Member
From: India
Registered: 2019-12-16
Posts: 3

xppaut versioning help needed

I've been learning XPPAUT (a tool for analyzing dynamical systems) and I found that the AUR package https://aur.archlinux.org/packages/xppaut wouldn't install. Turned out the upstream link was broken as the site has moved. I adopted the package but I'm confused about how to proceed.

The new upstream link provides a binary tarball (named xpplinux.tgz) that does not have a version number in the file name. The software itself has not been updated since 2016 (v8.0 since then). Is it alright to use the tarball as a source in the PKGBUILD even though it may be replaced without a change to the filename when a new version is released.

The tarball on the previous site used to contain the source and it had the version number in the filename. The source has since then moved to https://github.com/Ermentrout/xppaut but this repo doesn't have any version tags that I can use as a source.

What should I do? Send a request to delete the xppaut package from the AUR and create  a new xppaut-git package that uses the source? And if I use the binary tarball from the new site, do I have to change the package name to xppaut-bin?

Offline

#2 2023-01-03 16:24:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: xppaut versioning help needed

You need to rename the file as part of the source array (see https://wiki.archlinux.org/title/PKGBUILD#source). When it's updated, you will get a checksum error, and it's then time to update the PKGBUILD.

EDIT: And yes, if you're downloading pre-built binaries for something where the source is available, it needs to have -bin added to the pkgname.

Last edited by Scimmia (2023-01-03 16:26:16)

Offline

#3 2023-01-03 16:35:19

the_masala_man
Member
From: India
Registered: 2019-12-16
Posts: 3

Re: xppaut versioning help needed

Alright, thanks! What about the version though? Should i set pkgver to 8.0 for now and bump it when a new version is released?

Offline

Board footer

Powered by FluxBB