FS#33342 - $pkgname.install files not linked by makepkg to BUILDDIR/src
Attached to Project:
Pacman
Opened by KaiSforza (KaiSforza) - Wednesday, 09 January 2013, 09:22 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 January 2013, 10:09 GMT
Opened by KaiSforza (KaiSforza) - Wednesday, 09 January 2013, 09:22 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 January 2013, 10:09 GMT
|
Details
Summary and Info:
When building a package, sometimes it is nice to run simple sed commands on the $pkgname.install files for versions or names. Currently this requires the use of '$startdir' which is quite bad, and ${pkg,src}dir should be used instead, though this is not possible when working with $pkgname.install files, and makes makepkg error, or forces the use of $startdir. Steps to Reproduce: make a package with a $pkgname.install file that is not included in the source array (as stated in the PKGBUILD man page) and do something that manipulates said file using "$srcdir/$pkgname.install", where BUILDDIR is defined. |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 09 January 2013, 10:09 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#31553
Wednesday, 09 January 2013, 10:09 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#31553