You are not logged in.

#1 2008-06-04 16:43:04

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 333
Website

How to build a package from local files?

I have a couple of git projects cloned on my hd which I'd like to package. Now, it seems unneccessary to make a tarball of the files and move it to the build directory.... I've also tried to add the path to the source dir as the source line -- source=("/path/to/repo/*"), but that doesn't work either.
what's the correct way to do this?

Offline

#2 2008-06-04 20:51:44

droog
Member
Registered: 2004-11-18
Posts: 877

Re: How to build a package from local files?

if i understand what your doing, makepkg -e option should do it, makepkg will look in src/ and build from there instead of needing to download or extract anything.

Offline

#3 2008-06-04 21:14:40

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 333
Website

Re: How to build a package from local files?

Not quite, but close enough, I suppose. I have a ~/src tree and a ~/pkg tree, and my original question was -- to be more precise -- if I can tell makepkg, directly or in the PKGBUILD, to look in a certain folder in the src tree for the files to use for the pkg. I guess I can symlink to the ~/src directory. Thanks for the pointer.

Offline

Board footer

Powered by FluxBB