summaryrefslogtreecommitdiff
path: root/scripts/pkgdelta.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-06-05 13:30:08 +1000
committerAllan McRae <allan@archlinux.org>2012-08-04 00:16:38 +1000
commit888020de9068218fafe820e631222bc85c47b453 (patch)
tree20c2e8b0562310830f1ca1367527b6cd1a0805bc /scripts/pkgdelta.sh.in
parentcca9849fc25012845b08ce877f9450e45c9d207d (diff)
downloadpacman-888020de9068218fafe820e631222bc85c47b453.tar.xz
makepkg: provide mechanism for auto-updating pkgver
Now that VCS repos are provided in the source array, it becomes too complicated to have automatic updating pkgver as was the case with the old VCS PKGBUILDs (there can be multiple repos of different types in the source array, the VCS repo may not be the package primary source, etc). Instead provide an optional way for a PKGBUILD to update the pkgver value through the specifing of a pkgver() function that returns the new version string. This is run after all source files are downloaded so can access the VCS repo if needed. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/pkgdelta.sh.in')
0 files changed, 0 insertions, 0 deletions