[aur-general] How to use a local directory as the source for a -git package
Yichao Yu
yyc1992 at gmail.com
Tue May 14 13:59:19 EDT 2013
On Tue, May 14, 2013 at 11:50 AM, 郑文辉(Techlive Zheng)
<techlivezheng at gmail.com> wrote:
> 2013/5/14 Chris “Kwpolska” Warrick <kwpolska at gmail.com>:
>> On Tue, May 14, 2013 at 5:38 PM, 郑文辉(Techlive Zheng)
>> <techlivezheng at gmail.com> wrote:
>>> I have tried the following, none of them working
>>>
>>> source="git://../.."
>>>
>>> source="git+../../"
>>>
>>> source="git+/path/to/somefile"
>>
>> source=('git+file:///path/to/somefile')
>>
>> --
>> Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
>> stop html mail | always bottom-post
>> http://asciiribbon.org | http://caliburn.nl/topposting.html
>
> I have just figured that out, now my question is if it is possible to
> use a relative path?
Although I don't think that's a very good idea to use file:// url in a
pkgbuild, if you have a good reason to use that locally, I guess you
can use file://${PWD}/whatever/relative/path/you/want or maybe even
file://$(realpath your/relative/path)
More information about the aur-general
mailing list