You are not logged in.
After some prodding by dibble, I have revisited my CVS/SVN PKGBUILDs in the AUR to make them work with versionpkg, as per the guidelines, and in one of them, wlan-ng-svn, the checkout is from trunk, with no module i.e.
svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk
I followed the guidelines, and ended up with this:
_svntrunk=svn://svn.shaftnet.org/linux-wlan-ng/trunk
and then this:
svn co $_svntrunk --config-dir ./ -r $pkgver
The build works, but will the absence of _svnmod be a problem for versionpkg?
Offline
possibly! but you can cheat by using _svnmod=trunk and take trunk of the end of _svntrunk
Offline
OK - but if I do that, the recommended checkout command i.e.
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
equates to
svn co svn://svn.shaftnet.org/linux-wlan-ng/ --config-dir ./ -r 1756 trunk
which checks out not only trunk, but also branches and tags - in other words, multiple versions of the source code, instead of just one. I'm running it at the moment and it's gone back as far v0.1.16 - current is v0.2.2.
So I think I'll leave it as it is........
Offline
svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk
I followed the guidelines, and ended up with this:
_svntrunk=svn://svn.shaftnet.org/linux-wlan-ng
_svnmod=trunk
svn co $_svntrunk/_svnmod --config-dir ./ -r $pkgver
Lame but it is a good enough work around
Offline
OK - I wasn't sure if versionpkg specifically wanted $_svnmod at the end of the command, as per the guidelines.
I have to rebuild wlan-ng-svn now for 2.6.14-archck4, so I'll use do that and versionpkg it.
Offline
versionpkg doesn't really care about the checkout command itself but it does check to ensure the _svntrunk and _svnmod are found - that's all. The checkout command i have recently mentioned is not checked for but is essential for checkout of the code that corresponds to the pkgver. This is useful in such cases as with bmpx-svn where I cannot build the source with a particular tag but someone else can build it fine
Offline
Right - I've got my head around it now. versionpkg now builds wlan-ng-svn perfectly.
Thanks again.
Offline