You are not logged in.

#1 2014-04-11 17:28:25

valandil
Member
Registered: 2008-03-11
Posts: 82

[SOLVED] PKGBUILD: source of package is Google Code git repository

Hi,

Is there a way to write a 

source=()

field so that it fetches the source code of a Git repository that is hosted on Google Code. For instance, the ttf-google-fonts-git package has the line

source=("git://github.com/w0ng/googlefontdirectory.git") .

Another way to phrase the question would be to ask if there is a way to access the .git file in Google Code.

Thanks,

Last edited by valandil (2017-07-04 13:24:02)

Offline

#2 2014-04-11 17:36:45

valandil
Member
Registered: 2008-03-11
Posts: 82

Re: [SOLVED] PKGBUILD: source of package is Google Code git repository

Never mind. The bare URL to the project works.  It actually clones automatically.

Offline

#3 2014-04-11 18:27:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] PKGBUILD: source of package is Google Code git repository

Yup. You can always check if there are any packages that get code from Google Code and how the do it e.g. https://projects.archlinux.org/svntogit … kages/serf
Edit: This actually is svn, not git ;P

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Last edited by karol (2014-04-11 18:29:47)

Offline

#4 2014-04-11 20:31:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] PKGBUILD: source of package is Google Code git repository

Have a look at PKGBUILD(5), USING VCS SOURCES and the VCS PKGBUILD Guidelines wiki page.

Offline

Board footer

Powered by FluxBB