I am trying to make a package where the path to the .tar.gz file includes a tilde (~). However, when I put this in the 'source=(pathname)' in the PKGBUILD and then try to run makepkg, the tilde is somehow replaced by '%7E' in the script and it is unable to download/compile/install. I am a scripting newbie, so I'm sure there's a solution to this, I just don't know what it is.
Any help would be appreciated! Thanks
My hovercraft is full of eels.
I made a try, but it seems to work even if a ~ is in the source.
==> Downloading lm_sensors-2.7.0.tar.gz --21:18:11-- http://www2.lm-sensors.nu/%7Elm78/archive/lm_sensors-2.7.0.tar.gz => `lm_sensors-2.7.0.tar.gz' Resolving www2.lm-sensors.nu... done. Connecting to www2.lm-sensors.nu[184.108.40.206]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 595,379 [application/x-tar] 100%[========================================================>] 595,379 54.14K/s ETA 00:00 21:18:32 (54.14 KB/s) - `lm_sensors-2.7.0.tar.gz' saved [595379/595379]
There is a %7E in the URL but nevertheless it worked.
Perhaps this comes from the ftpagent used by makepkg to download the file?
(makepkg is using (in the following order) wget or snarf or lftpget)
For me, it worked with wget.