summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-03 11:25:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-03 11:25:11 +0000
commit50fea499f6f93af1db07c58ba0b50a63d38655b2 (patch)
treee70b7fba9978f44055156e5dc3e9625d576345e8 /net-im/amsn
parentFix icon cache update and raise EAPI to 4 by "ago" from Freenode. (diff)
downloadgentoo-2-50fea499f6f93af1db07c58ba0b50a63d38655b2.tar.gz
gentoo-2-50fea499f6f93af1db07c58ba0b50a63d38655b2.tar.bz2
gentoo-2-50fea499f6f93af1db07c58ba0b50a63d38655b2.zip
Fix also icons installation which was borqued by bad logic
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'net-im/amsn')
-rw-r--r--net-im/amsn/ChangeLog5
-rw-r--r--net-im/amsn/amsn-0.98.4-r1.ebuild14
2 files changed, 10 insertions, 9 deletions
diff --git a/net-im/amsn/ChangeLog b/net-im/amsn/ChangeLog
index 2b2f2d6fc896..035921a94bd7 100644
--- a/net-im/amsn/ChangeLog
+++ b/net-im/amsn/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for net-im/amsn
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.107 2011/10/03 11:05:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/ChangeLog,v 1.108 2011/10/03 11:25:11 ssuominen Exp $
03 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> amsn-0.98.4-r1.ebuild:
- Fix icon cache update and raise EAPI to 4 by "ago" from Freenode.
+ Fix icons install, icon cache update and raise EAPI to 4 by "ago" from
+ Freenode.
03 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> amsn-0.98.4-r1.ebuild:
The libpng15 patch imported from NetBSD is not compatible with libpng14 wrt
diff --git a/net-im/amsn/amsn-0.98.4-r1.ebuild b/net-im/amsn/amsn-0.98.4-r1.ebuild
index 96846725056d..b51660d47de6 100644
--- a/net-im/amsn/amsn-0.98.4-r1.ebuild
+++ b/net-im/amsn/amsn-0.98.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v 1.4 2011/10/03 11:05:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.98.4-r1.ebuild,v 1.5 2011/10/03 11:25:11 ssuominen Exp $
EAPI=4
inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs
@@ -70,13 +70,13 @@ src_install() {
domenu amsn.desktop
sed -i -e s:.png:: "${D}"/usr/share/applications/amsn.desktop || die
- cd desktop-icons
- for i in *; do
- if [ -e ${i}/msn.png ]; then
- insinto /usr/share/icons/hicolor/${i}/apps
- doins ${i}/msn.png
- fi
+ pushd desktop-icons
+ local res
+ for res in 22 32 48 64 72 96 128; do
+ insinto /usr/share/icons/hicolor/${res}x${res}/apps
+ doins ${res}x${res}/apps/amsn.png
done
+ popd
}
pkg_preinst() {