[pacman-dev] $startdir in PKGBUILDs

Thomas Bächler thomas at archlinux.org
Fri Jun 4 03:43:07 EDT 2010

Am 04.06.2010 02:06, schrieb Allan McRae:
> Can anyone think of an actual use of $startdir in PKGBUILDs?

It is used in the kernel and module PKGBUILDs to mangle the install file
prior to packaging:

sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100604/ff88672b/attachment.bin>

More information about the pacman-dev mailing list