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?
Check out the fragment section in
Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them
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.
Last edited by nikta (2013-12-11 15:10:39)