summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-18 22:33:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-18 22:33:46 +0000
commit433404502023ee931c833a3458e94a1f17c95868 (patch)
treea07099a803ee6e017fa832c0624f7e5074f5ca51 /x11-themes
parentVersion bump. (diff)
downloadgentoo-2-433404502023ee931c833a3458e94a1f17c95868.tar.gz
gentoo-2-433404502023ee931c833a3458e94a1f17c95868.tar.bz2
gentoo-2-433404502023ee931c833a3458e94a1f17c95868.zip
Fix HOMEPAGE, SRC_URI.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gartoon/gartoon-0.5-r2.ebuild39
1 files changed, 21 insertions, 18 deletions
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
}