[aur-general] Filenames with "_" in it

Allan McRae allan at archlinux.org
Mon Jun 1 07:43:17 EDT 2009


Thomas Bohn wrote:
> I have one package[1] in AUR which has a "_" in the original file name. 
> When I put
>
> source=(http://downloads.sourceforge.net/bibcursed/$pkgname_$pkgver.tgz)
>
> in the PKGBUILD, it won't work. When I put an \ before the _ it works but 
> on the AUR page this \ will also show up and break the link to the 
> original file.
>   

Adjust your source to:

source=(http://downloads.sourceforge.net/bibcursed/${pkgname}_$pkgver.tgz)

Allan





More information about the aur-general mailing list