Re: http://bugs.archlinux.org/task/14873

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Magnus Therning schrieb:
Allan McRae wrote:
[..]

As a general rule, you never should use $startdir in a PKGBUILD.

Is that written down somewhere? It'd be nice to have a place to refer to when arguing some changes to PKGBUILDs.

/M


You can regularly refer to the prototypes in /usr/share/pacman. Those have $srcdir and $pkgdir now (which are also necessary for the split package building in pacman 3.3). Other than that, I only noticed because the other devs started using them instead of $startdir.

There is one reason to refer to $startdir, maybe we should think about that: The .install file is never included in source=(), but we sometimes sed stuff inside it, refering to $startdir.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux