diff options
author | Michael Januszewski <spock@gentoo.org> | 2006-08-11 16:44:21 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2006-08-11 16:44:21 +0000 |
commit | 8de7b628975991273b00a46895f19859c51982ce (patch) | |
tree | 59d254c21b11e54b76166e4413f86584cc437647 /x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild | |
parent | Fix ebuild again (diff) | |
download | gentoo-2-8de7b628975991273b00a46895f19859c51982ce.tar.gz gentoo-2-8de7b628975991273b00a46895f19859c51982ce.tar.bz2 gentoo-2-8de7b628975991273b00a46895f19859c51982ce.zip |
Version bump.
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild')
-rw-r--r-- | x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild new file mode 100644 index 000000000000..db8c962d4aba --- /dev/null +++ b/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gentoo-artwork/gentoo-artwork-0.4.2.ebuild,v 1.1 2006/08/11 16:44:21 spock Exp $ + +BI_VER="20060811" + +DESCRIPTION="A collection of miscellaneous Gentoo Linux logos and artwork" +SRC_URI="mirror://gentoo/gentoo-artwork-0.2.tar.bz2 + mirror://gentoo/gentoo-artwork-0.3.tar.bz2 + mirror://gentoo/gentoo-artwork-0.4.tar.bz2 + mirror://gentoo/gentoo-artwork-0.4.1.tar.bz2 + mirror://gentoo/gentoo-artwork-0.4.2.tar.bz2 + mirros://gentoo/gentoo-bubble-icons-${BI_VER}.tar.gz" +HOMEPAGE="http://www.gentoo.org/index-graphics.html" + +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="kde offensive" + +DEPEND="" + +src_unpack() { + unpack gentoo-artwork-0.2.tar.bz2 + # rename unpacked dir so that updated files get overwritten + mv ${WORKDIR}/gentoo-artwork-0.2 ${WORKDIR}/gentoo-artwork-0.3 + unpack gentoo-artwork-0.3.tar.bz2 + mv ${WORKDIR}/gentoo-artwork-0.3 ${WORKDIR}/gentoo-artwork-0.4 + unpack gentoo-artwork-0.4.tar.bz2 + mv ${WORKDIR}/gentoo-artwork-0.4 ${WORKDIR}/gentoo-artwork-0.4.1 + unpack gentoo-artwork-0.4.1.tar.bz2 + mv ${WORKDIR}/gentoo-artwork-0.4.1 ${WORKDIR}/gentoo-artwork-0.4.2 + unpack gentoo-artwork-0.4.2.tar.bz2 + + # Gentoo Bubble Icons + unpack gentoo-bubble-icons-${BI_VER}.tar.gz + cd ${WORKDIR}/gentoo-artwork-0.4.2/icons/gentoo + + cp ${FILESDIR}/index.theme . + + mv l33t/l33t_BRO_lynx.png l33t/l33t_BRO_lynx2.png + mv ${WORKDIR}/gentoo-bubble-icons/README bubble-icons-README + find ${WORKDIR}/gentoo-bubble-icons -name '*.png' \ + -exec mv "{}" l33t/ \; + + # fix errors in filenames + mv l33t/l33t_nero.png l33t/l33t_UTI_nero.png + + mv ${S}/pixmaps/1280x1024/gentoo-freedom-1280x1024,jpg \ + ${S}/pixmaps/1280x1024/gentoo-freedom-1280x1024.jpg + + # remove misspelled files + rm ${S}/icons/gentoo/{32x32,48x48,64x64}/slypheed.png + + # bug #132271 + rm ${S}/pixmaps/1024x768/gentoo-blue-leaf-1024x768.jpg + rm ${S}/pixmaps/1024x768/gentoo-blue-ute-1024x768.jpg + + if ! use offensive ; then + for i in $(<${FILESDIR}/offensive_list) ; do + rm -f "${S}/${i}" + done + fi +} + +src_install() { + # pixmaps + dodir /usr/share/pixmaps/gentoo/ + cd ${S}/pixmaps + cp -pPR . ${D}/usr/share/pixmaps/gentoo/ + rm ${D}/usr/share/pixmaps/gentoo/CREDITS + + if use kde ; then + # a Gentoo colour scheme for KDE + insinto /usr/share/apps/kdisplay/color-schemes + doins ${S}/misc/Gentoo.kcsrc + fi + + # Gentoo icons + dodir /usr/share/icons/gentoo + cp -pR ${S}/icons/gentoo/* ${D}/usr/share/icons/gentoo/ + + # grub splash images + dodir /usr/share/grub/splashimages + insinto /usr/share/grub/splashimages + doins ${S}/grub/*.xpm.gz + + # lilo splash images + dodir /usr/share/lilo/splashimages + insinto /usr/share/lilo/splashimages + doins ${S}/lilo/* + + dodoc ${S}/pixmaps/CREDITS +} + +pkg_postinst() { + einfo "See:" + einfo " http://dev.gentoo.org/~spock/gentoo/artwork.php" + einfo "for information about submitting new artwork for this package." +} |