1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="Pinux's Tux Cursors Theme"
6 HOMEPAGE="http://www.kde-look.org/content/show.php?content=19506"
7 SRC_URI="http://www.kde-look.org/CONTENT/content-files/19506-pinux's-tux-cursors-theme-${PV}-cur.tar.bz2"
17 # cursor themes to be installed
18 THEMES="pCircle-24 pCircle-32 pDebian-24 pDebian-32 pGentoo-24 \
19 pGentoo-32 pSlackware-24 pSlackware-32 pSuse-24 pSuse-32 pTux-24 pTux-32 \
20 pUbuntu-24 pUbuntu-32"
22 # are there other implementations?
26 for cursortheme in ${THEMES} ; do
27 dodir "/usr/share/cursors/${X11_IMPLEM}/${cursortheme}/"
28 for cursorfile in index.theme cursors ; do
29 cp -dr "${WORKDIR}/cursors/${cursortheme}/${cursorfile}" \
30 "${D}usr/share/cursors/${X11_IMPLEM}/${cursortheme}/" || die
33 dodoc "${WORKDIR}/README"
37 einfo "The following cursor themes have been installed:"
38 for cursortheme in ${THEMES} ; do
39 einfo " ${cursortheme}"
42 einfo "To use this set of cursors, edit or create the file ~/.Xdefaults"
43 einfo "and add the following line:"
44 einfo "Xcursor.theme: pTux24"
45 einfo "Alternatively, use KDE's control center to switch to this set"
48 einfo "Also, to globally use this set of mouse cursors edit the file:"
49 einfo " /usr/local/share/cursors/${X11_IMPLEM}/default/index.theme"
50 einfo "and change the line:"
51 einfo " Inherits=[current setting]"
53 einfo " Inherits=pTux24"
55 einfo "Note this will be overruled by a user's ~/.Xdefaults file."
57 ewarn "If you experience flickering, try setting the following line in"
59 ewarn "the Device section of your xorg.conf file:"
60 ewarn " Option \"HWCursor\" \"false\""