Geoffroy Carrier wrote:
> On Sat, May 10, 2008 at 5:16 AM, Allan McRae <firstname.lastname@example.org> wrote:
>> I can think of one function which would save a lot of discussion around
>> create_desktop_file(<progname>, <description>, <category>)
> Except I think you need at least to use an icon, and if possible to
> translate descriptions, that you might get locale issues (charset for
> the name/description, even for international apps like Prot'eg'e I
> happen to package), etc.
> Else, seems a good idea
> I'd like something that would replace/shorten that (taken from javacc):
> for _exe in javacc jjdoc jjtree
> cat << EOF > $_exe
> exec /usr/share/java/javacc/bin/$_exe $@
> install -Dm755 $_exe "$pkgdir/usr/bin/$_exe"
Let me show my stupidity here, but why would a script be:
exec /usr/share/java/javacc/bin/$_exe $@
To spawn a shell to start the program, whats wrong with a
symlink to the program in its place?
ln -s /usr/share/java/javacc/$_exe $pkgdir/usr/bin/$_exe
pacman-dev mailing list