You are not logged in.
Hi everyone,
I am trying to make one of my first PKGBUILDS(well two actually, one is done though). It is for a python program so the PKGBUILD is very straightforward and I have it working. What I am wondering though is if it is possible to auto increment the version based on a text file containing the latest version number. The developer places a file at the same location as the tarball call "latest_version" and this would contain the latest version number in plain text like so:
0.4.83Or whatever the version number happens to be. So I am wondering if rather than having to check the latest version number and then edit my PKGBUILD manually everytime a version is released is there a way to do this automatically within the PKGBUILD. I was thinking something along the lines of:
pkgver=`cat latest_version`But since it has to download latest_version first it doesn't seem to work.
Any thoughts or hints?
Thanks,
Kevin
Offline
I believe it would be safer if you update the package manually each time upstream releases a new version. This way you can check for possible incompatibilities or you may need to make modifications to the PKGBUILD for it to build.
Moreover, I am pretty certain that the AUR software won't be able to parse the package version if you put "pkgver=`cat latest_version`".
Offline