FS#28390 - PKGBUILD-git.proto is required
Attached to Project:
Pacman
Opened by Daniel YC Lin (dlin) - Monday, 13 February 2012, 04:30 GMT
Last edited by Dan McGee (toofishes) - Monday, 13 February 2012, 04:39 GMT
Opened by Daniel YC Lin (dlin) - Monday, 13 February 2012, 04:30 GMT
Last edited by Dan McGee (toofishes) - Monday, 13 February 2012, 04:39 GMT
|
Details
Summary and Info:
I found some people started with wrong git/svn/hg proto. Could you provide the sample in pacman package? Steps to Reproduce: |
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 13 February 2012, 04:39 GMT
Reason for closing: Not a bug
Additional comments about closing: https://www.archlinux.org/packages/extra /i686/abs/files/
Monday, 13 February 2012, 04:39 GMT
Reason for closing: Not a bug
Additional comments about closing: https://www.archlinux.org/packages/extra /i686/abs/files/
I just use pacman -Qo makepkg. And got it is 'pacman'.
I should get the sample from 'abs' package instead of pacman package.
Another suggestion, in PKGBUILD-git.proto, in
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
I think it will let user easy understand by rename the first clone directory to
$_gitname.git instead of $_gitname
So, the $_gitname-build directory could directly named as $_gitname