Hi My PKGBUILD is available at https://aur.archlinux.org/packages/xf/xfreq-2.0-git/PKGBUILD where source code comes from git Whenever I update a piece of code, I would like the version be reflected in pkgver also, so AUR tools like yaourt can inform the user. Any suggestion ?
On Mon, Jun 30, 2014 at 06:57:05PM +0000, ccy@free.fr wrote:
Hi My PKGBUILD is available at https://aur.archlinux.org/packages/xf/xfreq-2.0-git/PKGBUILD where source code comes from git Whenever I update a piece of code, I would like the version be reflected in pkgver also, so AUR tools like yaourt can inform the user. Any suggestion ?
Simply put, you can't do this. PKGBUILDs uploaded to the AUR are immutable. Nothing is going to magically change the pkgver short of you uploading a new PKGBUILD.
Users of VCS packages should be following (via RSS or whatever) the upstream repository so that they know when to update.
d
Whenever I update a piece of code, I would like the version be reflected in pkgver also, so AUR tools like yaourt can inform the user. Any suggestion ?
Simply put, you can't do this. PKGBUILDs uploaded to the AUR are immutable. Nothing is going to magically change the pkgver short of you uploading a new PKGBUILD.
Well, you can do it. Manually. Everytime there is a new commit in the upstream, bump the pkgrel and upload to AUR. Users who call `yaourt -Syu --aur` will get an update. That's the only way.
All AUR helpers usually have a - - devel flag which rebuilds all the git, svn, bzr etc. packages. Am 30.06.2014 21:27 schrieb "Nowaker" enwukaer@gmail.com:
Whenever I update a piece of code, I would like the version be reflected
in pkgver also, so AUR tools like yaourt can inform the user. Any suggestion ?
Simply put, you can't do this. PKGBUILDs uploaded to the AUR are
immutable. Nothing is going to magically change the pkgver short of you uploading a new PKGBUILD.
Well, you can do it. Manually. Everytime there is a new commit in the upstream, bump the pkgrel and upload to AUR. Users who call `yaourt -Syu --aur` will get an update. That's the only way.
-- Kind regards, Damian Nowak StratusHost www.AtlasHost.eu
aur-general@lists.archlinux.org