diff options
-rw-r--r-- | x11-themes/gartoon/Manifest | 2 | ||||
-rw-r--r-- | x11-themes/gartoon/gartoon-0.5-r2.ebuild | 39 |
2 files changed, 22 insertions, 19 deletions
diff --git a/x11-themes/gartoon/Manifest b/x11-themes/gartoon/Manifest index 8611a52f6fc2..0dc7fde4961e 100644 --- a/x11-themes/gartoon/Manifest +++ b/x11-themes/gartoon/Manifest @@ -1,4 +1,4 @@ DIST gartoon-0.5.tar.gz 1552790 RMD160 ad2d5e7992b26e8c099cd80ae76cc9e8fa90e6e1 SHA1 1b31f03602a501051f85f9637e04abdf676a2914 SHA256 f5f7db405c7a1535f8940bf2a7099a282e0f809e52a48bb0e29e265467926169 -EBUILD gartoon-0.5-r2.ebuild 1364 RMD160 1efad82715ab17ffb599ad4cf708ed5791665f0c SHA1 8d003ce13ee9f1d23328c4ac6f3e5244ddbd65b6 SHA256 38fce946e122c7c6b06b4e877d00f2c452da4181dd4ab871fe82697266b0a033 +EBUILD gartoon-0.5-r2.ebuild 1327 RMD160 6abd835f2856678bab7f8be62a5e2e02ba8a9f73 SHA1 5f13770de2ce965220047fce4693818883dc2798 SHA256 6911ec8f815a28f72a56681e6def63c28d547dc7de9ff26ce45c7f200099637a MISC ChangeLog 1669 RMD160 3f6f27026fc63f6fd14f1cb9eb5335eb4c06da18 SHA1 f8c0ac745081baf1bfd5557add486878bf19b617 SHA256 bec2874e8924c716a92fc95f0dad5039f9ef3002f94a7b3e1fdf85a480a28d42 MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 diff --git a/x11-themes/gartoon/gartoon-0.5-r2.ebuild b/x11-themes/gartoon/gartoon-0.5-r2.ebuild index 60f8a49574c6..421fc9af308f 100644 --- a/x11-themes/gartoon/gartoon-0.5-r2.ebuild +++ b/x11-themes/gartoon/gartoon-0.5-r2.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gartoon/gartoon-0.5-r2.ebuild,v 1.5 2008/01/07 10:39:17 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gartoon/gartoon-0.5-r2.ebuild,v 1.6 2009/07/18 22:33:46 ssuominen Exp $ + +EAPI=2 DESCRIPTION="Gartoon SVG icon theme" -SRC_URI="http://zeus.qballcow.nl/icon/paket/${P}.tar.gz" -HOMEPAGE="http://zeus.qballcow.nl/?page_id=15" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" IUSE="" @@ -13,33 +15,34 @@ SLOT="0" RESTRICT="binchecks strip" -S="${WORKDIR}/${PN}" -MY_DEST="/usr/share/icons/${PN}" +S=${WORKDIR}/${PN} + +pkg_setup() { + mydest="/usr/share/icons/${PN}" +} -src_unpack() { - unpack ${A} - sed -i -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${MY_DEST}/scalable/stock\":" \ - "${S}"/scalable/stock/iconrc +src_prepare() { + sed -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${mydest}/scalable/stock\":" \ + -i scalable/stock/iconrc || die "sed failed" } src_install() { - insinto ${MY_DEST} + insinto ${mydest} doins index.theme scalable/stock/iconrc dodoc AUTHORS README scalable/stock/changelog_mula.txt for dir in apps devices emblems filesystems mimetypes stock; do cd "${S}"/scalable/${dir} - insinto ${MY_DEST}/scalable/${dir} + insinto ${mydest}/scalable/${dir} for svg in *svg; do doins ${svg} done done - cd scalable/apps - dosym gnome-lockscreen.svg ${MY_DEST}/scalable/apps/xfce-system-lock.svg - dosym control-center2.svg ${MY_DEST}/scalable/apps/xfce-system-settings.svg - dosym gnome-logout.svg ${MY_DEST}/scalable/apps/xfce-system-exit.svg - dosym mozilla-firefox.svg ${MY_DEST}/scalable/apps/firefox-icon.svg - dosym gnome-globe.svg ${MY_DEST}/scalable/apps/firefox-icon-unbranded.svg + dosym gnome-lockscreen.svg ${mydest}/scalable/apps/xfce-system-lock.svg + dosym control-center2.svg ${mydest}/scalable/apps/xfce-system-settings.svg + dosym gnome-logout.svg ${mydest}/scalable/apps/xfce-system-exit.svg + dosym mozilla-firefox.svg ${mydest}/scalable/apps/firefox-icon.svg + dosym gnome-globe.svg ${mydest}/scalable/apps/firefox-icon-unbranded.svg } |