Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#19574 - [abs] there is no PKGBUILD-bzr.proto
Attached to Project:
Arch Linux
Opened by solsTiCe (zebul666) - Monday, 24 May 2010, 09:41 GMT
Last edited by Allan McRae (Allan) - Sunday, 30 May 2010, 01:08 GMT
Opened by solsTiCe (zebul666) - Monday, 24 May 2010, 09:41 GMT
Last edited by Allan McRae (Allan) - Sunday, 30 May 2010, 01:08 GMT
|
DetailsThere is NO bzr PKGBUILD proto in /usr/share/pacman
You'll find one attached. I do not pretend it's the best ever. Base your work on it. Another bug, I think is that every PKGBUILD.proto for VCS use a source and md5sum line which are not needed at all. Moreover the source=($pkgname-$pkgver.tar.gz) is rather bad in these proto |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 30 May 2010, 01:08 GMT
Reason for closing: Implemented
Additional comments about closing: in git
Sunday, 30 May 2010, 01:08 GMT
Reason for closing: Implemented
Additional comments about closing: in git
PKGBUILD-bzr.proto
in these VCS proto, there is this line:
# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
# for more information on packaging
but there is no more really any info on this page anymore expect some general rule that are already taken into account in the proto most of the time !
The source/md5sum lines are still useful (e.g. providing a .desktop file for a project that does not have one), but I agree the default value in the source array is bad.
I'm sure that wiki page used to be much more detailed....
http://mailman.archlinux.org/pipermail/aur-general/2010-May/008984.html
http://pastebin.com/C8sC7wAe
it replaces a git clone with git checkout when copying to -build directory. to make it work with branches ?
take a look at it, and include it if you think it's good.
I don't really understand why a simple cp -a is not good to create the -build directory....
And this is better:
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin ${_gitbranch}
msg "The local files are updated."
else
git clone $_gitroot
cd $_gitname && git checkout origin/${_gitbranch}
fi
source line: http://projects.archlinux.org/abs.git/commit/?id=20007927