Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Allan McRae (Allan)
Tuesday, 28 June 2016, 08:46 GMT
Reason for closing:  Not a bug
Comment by Johannes Löthberg (demize) - Sunday, 26 June 2016, 20:15 GMT
Expansion does not happen in single quotes, so your source line should be as follows:

source=('bzr+http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/')

which works just fine.

Loading...