FS#21973 - [pkgtools] newpkg -i do not create the .install file

Attached to Project: Community Packages
Opened by Damien A (celmir) - Friday, 03 December 2010, 14:31 GMT
Last edited by Gavin Bisesi (Daenyth) - Thursday, 16 June 2011, 13:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

newpkg -i <pkgname> copy the prototype .install file

but no proto.install file was copy to the ~/builds/<pkgname> directory

Additional info:
* package version : pkgtools 21-2
* stdout (with 'export LANG=en_US.UTF-8'):

can't read , cancelling copy!
cp: cannot stat `': No such file or directory
All done! New package prepared in /home/user/builds/


Steps to reproduce:

su - -c'pacman -S pkgtools'
newpkg -i foo

suggestion :

$PROTO_INSTALL is not correctly set, i suggest to clone setpkgbuild function as setpkginstall function

file to patch : /usr/share/pkgtools/function.newpkg ( function.newpkg.patch)

file to patch : /usr/share/pkgtools/newpkg/presets/install.action (install.action.patch)

This task depends upon

Closed by  Gavin Bisesi (Daenyth)
Thursday, 16 June 2011, 13:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  commit: f1cf430
Comment by Gavin Bisesi (Daenyth) - Friday, 03 December 2010, 20:06 GMT
Thanks. I'll look at it after the next release. Should be soon.
Comment by mattia (nTia89) - Saturday, 19 February 2011, 21:36 GMT
i can't reproduce this bug:

should you attach an example ...
Comment by Jelle van der Waa (jelly) - Thursday, 16 June 2011, 13:11 GMT
it also doesn't copy the rc.d option

Loading...