[pacman-dev] $startdir in PKGBUILDs
Thomas Bächler
thomas at archlinux.org
Fri Jun 4 04:42:33 EDT 2010
Am 04.06.2010 10:08, schrieb Allan McRae:
> On 04/06/10 17:43, Thomas Bächler wrote:
>> 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}'/"
>> $startdir/xxx.install
>>
>
> $srcdir should work there.
The .install file is never part of the source, and as such it is never
in $srcdir.
-------------- 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/1316915f/attachment.bin>
More information about the pacman-dev
mailing list