[pacman-dev] Libraries for makepkg

Eric Belanger belanger at ASTRO.UMontreal.CA
Sat May 10 00:06:39 EDT 2008


On Sat, 10 May 2008, Geoffroy Carrier wrote:

> I'd like something that would replace/shorten that (taken from javacc):
>
>  for _exe in javacc jjdoc jjtree
>  do
>    cat << EOF > $_exe
> #!/bin/sh
> exec /usr/share/java/javacc/bin/$_exe \$@
> EOF
>  install -Dm755 $_exe "$pkgdir/usr/bin/$_exe"
>  done
>
>

That can be simplified by providing the 3 scripts and adding them to the 
source array. That is is the recommended way to do this, I beleive.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the pacman-dev mailing list