# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit rox MY_PN=Trash DESCRIPTION="Trash - a unified trash can application for the ROX Desktop." HOMEPAGE="http://www.skepticats.com/rox/trash.html" SRC_URI="http://www.skepticats.com/rox/dist/${MY_PN}-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" ROX_LIB_VER=1.9.0 APPNAME=${MY_PN} S=${WORKDIR} # kludge to change all .sh files to executable pkg_preinst() { chmod 0755 ${D}/usr/lib/rox/Trash/*.sh ${D}/usr/lib/rox/Trash/pymessage } pkg_postinst() { einfo "${APPNAME} requires user write permission in it's directory." einfo "Therefore, if you run it from the /usr/lib/rox/${APPNAME}" einfo "directory, some features such as changing icon displays won't" einfo "work. If you want full functionality, ${APPNAME} needs to" einfo "be installed in \${HOME}/Apps and run from there. To do this" einfo "either drag the Trash icon in ROX to \${HOME}/Apps or copy" einfo "it like this:" einfo "mkdir -p \${HOME}/Apps; cp -r /usr/lib/rox/${APPNAME} \${HOME}/Apps" }