You are not logged in.

#1 2023-06-03 15:18:41

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 232

[SOLVED] Is local:// a valid scheme for a source URI ?

I'm looking at this PKGBUILD (not mine!) which has this source:

local://CiscoPacketTracer_821_Ubuntu_64bit.deb

Is the "local" scheme prefix valid? I can't find it documented on the PKGBUILD wiki or in this list on wikipedia.

It does work, however. I'd just like to clarify if it's right as it isn't something I've come across before (I'd normally use a file:// prefix).

Last edited by starfry (2023-06-03 17:10:19)

Offline

#2 2023-06-03 15:29:22

progandy
Member
Registered: 2012-05-17
Posts: 5,211

Re: [SOLVED] Is local:// a valid scheme for a source URI ?

That is a valid scheme for a PKGBUILD, it has been supported by makepkg for 11 years, but I have no idea if any documentation about that exists.
https://gitlab.archlinux.org/pacman/pac … 82dd113a94


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2023-06-03 17:09:54

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 232

Re: [SOLVED] Is local:// a valid scheme for a source URI ?

Perfect, thank you!

Offline

#4 2023-07-05 12:05:17

daniel_shub
Member
Registered: 2012-06-21
Posts: 85

Re: [SOLVED] Is local:// a valid scheme for a source URI ?

According to the wiki there are differences and no guidance about which to use https://wiki.archlinux.org/title/Nonfre … _to_choose

Offline

Board footer

Powered by FluxBB