4 Jun
2010
4 Jun
'10
8:42 a.m.
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.