[pacman-dev] [PATCHES] Refreshed PKGBUILDs

Miklos Vajna vmiklos at frugalware.org
Sun May 18 10:20:12 EDT 2008

On Sat, May 17, 2008 at 09:54:14PM +0200, Xavier <shiningxc at gmail.com> wrote:
> So maybe instead of :
>    cd "$srcdir/$pkgname-$pkgver"
> we could use :
>    cd ${srcdir}/$pkgname-$pkgver
> ?

that would be totally illogical. the point of using ${foo} instead of
$foo is that in some cases you really need ${foo}:

source=($pkgname_$pkgver) won't work, but source=(${pkgname}_$pkgver)
will. (just an example but probably you got the point). because of this,
some projects (like gentoo) force the usage of ${foo} everywhere.

this is not related to spaces, to deal with them, you always need
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080518/80a85cf2/attachment.pgp>

More information about the pacman-dev mailing list