gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.10.ebuild
On 15:53 Thu 06 Dec , Jim Ramsay (lack) wrote:
> 1.1 rox-base/rox-clib/rox-clib-2.1.10.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.10.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox-clib/rox-clib-2.1.10.ebuild?rev=1.1&content-type=text/plain
> src_install() {
> local baselibdir="/usr/$(get_libdir)"
> local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds"
> local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons"
>
> # clean up source instead of remove it!
> ( cd src && make clean )
>
> # remove silly .cvs files
> find . -name '.cvs*' | xargs rm -f >/dev/null 2>&1
> dodoc ${baselibdir}/${APPNAME}
> dodir ${baselibdir}/${APPNAME}
> cp -r . "${D}${baselibdir}/${APPNAME}"
> (
> cd Help
> dodoc Authors Changes ToDo README Versions
> )
Instead of these subshells to save the original directory, a more common
technique is pushd/popd. Another possibility is 'cd foo; stuff; cd -',
but that doesn't stack.