Mailing List Archive

Re: [gentoo-commits] gentoo-x86 commit in app-cdr/tkdvd: ChangeLog tkdvd-3.10.1.ebuild tkdvd-4.0.4.ebuild tkdvd-4.0.7.ebuild
On 14:50 Sun 16 Dec , Lars Weiler (pylon) wrote:
> 1.1 app-cdr/tkdvd/tkdvd-4.0.7.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/tkdvd/tkdvd-4.0.7.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/tkdvd/tkdvd-4.0.7.ebuild?rev=1.1&content-type=text/plain

> src_install() {
> insinto /usr/share/${PF}/src
> doins src/*
>
> exeinto /usr/share/${PF}
> doexe TkDVD.sh
>
> dodir /usr/bin
>
> cat <<EOF >"${D}"/usr/bin/tkdvd
> #!/bin/sh
> cd /usr/share/${PF}
> ./TkDVD.sh
> EOF
>
> fperms 755 /usr/bin/tkdvd
>
> dodoc ChangeLog FAQ INSTALL README TODO doc/config_file
>
> insinto /usr/share/pixmaps
> doins icons/*.png
> }

This is a nice counterexample of what Mike wrote the other day about
maintaining indentation when using here documents. If the '<<' changed
to '<<-', you could indent the script to keep the ebuild more readable.

Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list