[arch-dev-public] [PATCH] Do not refer to $startdir/{src, pkg} in PKGBUILDs

Pierre Schmitz pierre at archlinux.de
Tue Jun 8 03:28:14 EDT 2010

On Tue,  8 Jun 2010 13:18:17 +1000, Allan McRae <allan at archlinux.org>
> PKGBUILDs should always use $srcdir and $pkgdir and their locations
> are not guaranteed to be $startdir/src and $startdir/pkg respecitively.
> Signed-off-by: Allan McRae <allan at archlinux.org>

When will $startdir be removed? I just checked: 1022 packages are
affected. (not a big deal though as they can changed on rebuilds)

But I have seen packages which modify the .install script during build.
For example to set the current kernel version for depmod. How could this be
handled then? Or are .install scripts are now available under srcdir?

Pierre Schmitz, https://users.archlinux.de/~pierre

More information about the arch-dev-public mailing list