You are not logged in.
I have a github repo with several branches and I want to create a package based on the master branch. In a PKGBUILD I used "git clone https://github.com/some_account/some_repo --single-branch master" to clone only the master branch and not all the other thing. I would like to modify my PKGBUILD to use " source='git://github.com/some_account/some_repo.git' " and not directly use the above "git clone" command. How can I tell makepkg to clone olny the master branch and not all the repo in the later form?
Offline
Check out the fragment section in man 5 PKGBUILD
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That still downloads all branches...
The only way is to manually download the source in the prepare function.
Offline
That still downloads all branches...
The only way is to manually downloads the source in the prepare function.
Yes you are right. It still downloads the whole repo.
Thanks
Last edited by nikta (2013-12-11 15:10:39)
Offline