FS#49450 - in PKGBUILD, directive « source », not possible to write « ~ » in the url
Attached to Project:
Pacman
Opened by Julio (JulioJu) - Monday, 23 May 2016, 15:38 GMT
Last edited by Allan McRae (Allan) - Tuesday, 28 June 2016, 08:46 GMT
Opened by Julio (JulioJu) - Monday, 23 May 2016, 15:38 GMT
Last edited by Allan McRae (Allan) - Tuesday, 28 June 2016, 08:46 GMT
|
Details
Summary and Info:
In a PKGBUILD, in the directive « source », if there is a « ~ » or « \~ » in the url there is a bug. In shell, the « \~ » or « ~ » is translated as $HOME. I use zsh. Steps to Reproduce: Example of PKGBUILD # Maintainer : JulioJu < juanes 0890 at google mail dot com > # Contributor: JulioJu < juanes 0890 at google mail dot com > pkgname=marionnet-trunk pkgver=1 pkgrel=1 pkgdesc="Educational software. It is a virtual network laboratory: it allows users to define, configure and run complex computer networks without any need for physical setup. Trunk version (with UML kernel Debian Wheezy)" arch=(x86_64) makedepends=('bzr' 'optipng' 'ocamlbricks-trunk') depends=('lib32-glibc' 'xorg-server' 'xorg-xinit' 'xorg-server-utils' 'gtksourceview2' 'libglademm' 'graphviz' 'xterm' 'vde2' 'uml_utilities' 'net-tools' 'bridge-utils') provides=('') conflicts=('marionnet') url="https://www.marionnet.org/" source=('bzr+http://bazaar.launchpad.net/\~marionnet-drivers/marionnet/trunk/') license=('GPL') sha256sums=('SKIP') build() { cd "${srcdir}/trunk" make } package() { cd "${srcdir}/trunk" make DESTDIR="${pkgdir}/${pkgname}-${pkgrel}" install } |
This task depends upon
source=('bzr+http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/')
which works just fine.