On Oct 2, 2009, at 5:35 PM, huntxu wrote:

2. let makepkg install custom license automatically
When making packages whose licenses are "custom", we use PKGBUILD to install the license file manually. Since it is a common step for those packages, why not let makepkg do that automatically? Just specify $licensefile in your PKGBUILD(like $licensefile=LICENSE) and ensure the license file is in $startdir, it then will be automatically install to $pkgdir/usr/share/licenses/ $pkgname/$licensefile when packaging.

Seems distro-specific (license path) to me. Pacman/makepkg aim to be distro agnostic.

Reply via email to