# $Header: /magellan-cvs/smage/xcursors-chameleon-skyblue/xcursors-chameleon-skyblue-0.5-r3.smage2,v 1.2 2008/02/07 14:23:55 niro Exp $ PNAME="xcursors-chameleon-skyblue" PVER="0.5" PBUILD="r3" BRANCH="SkyBlue" PCATEGORIE="x11-themes" STATE="testing" DESCRIPTION="Cursors for Xorg." HOMEPAGE="http://www.egregorion.net/" DEPEND=">= x11-libs/libX11-1 >= x11-libs/libXcursor-1 >= media-libs/libpng-1.2.8" SDEPEND=">= x11-apps/xcursorgen-1" SRCFILE="Chameleon-${BRANCH}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}" SRC_URI=( http://egregorion.netsons.org/works/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_install() { local dest install -d ${SRCDIR} || die cd ${SRCDIR} munpack ${SRCFILE} ${SRCDIR} || die for i in Chameleon-${BRANCH}-{Large,Regular,Small}-${PVER} do # dest dir dest="${BINDIR}/usr/share/cursors/xorg-x11/$(echo ${i/-${PVER}/} | tr [:upper:] [:lower:])/cursors" # needed directories install -d ${dest} || die # cursors cp -d ${SRCDIR}/${i}/cursors/* ${dest} || die done # docs minstalldocs Chameleon-${BRANCH}-Regular-${PVER}/{COPYRIGHT,LICENSE} || die }