FS#30582 - [makepkg] Add a function prebuild()/postextract() in PKGBUILD
Attached to Project:
Pacman
Opened by Enjolras (enjolras) - Saturday, 07 July 2012, 09:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 04 August 2012, 09:10 GMT
Opened by Enjolras (enjolras) - Saturday, 07 July 2012, 09:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 04 August 2012, 09:10 GMT
|
Details
Some tasks have to be process only once after extracting
source, eg, applying patches.
If you get an error during build() and you want to retry with makepkg --noextract, you have to comment all patch lines. A function postextract() could be added to contain these tasks and whould not be called with makepkg --noextract |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 04 August 2012, 09:10 GMT
Reason for closing: Fixed
Additional comments about closing: 065b7f863a2
Saturday, 04 August 2012, 09:10 GMT
Reason for closing: Fixed
Additional comments about closing: 065b7f863a2
Comment by Enjolras (enjolras) -
Friday, 27 July 2012, 21:32 GMT
Patch attached.
makepkg.patch
(0.9 KiB)