summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2009-08-11 13:59:47 +0000
committerMarkus Dittrich <markusle@gentoo.org>2009-08-11 13:59:47 +0000
commit8ad11944b3ad7f136e4b1159320ba141ba76fcc3 (patch)
tree19b7d4489bf28c0c7337d8f8f86bbe9e62b45aff /sci-chemistry/vmd/vmd-1.8.7.ebuild
parentRemove old ebuild (diff)
downloadhistorical-8ad11944b3ad7f136e4b1159320ba141ba76fcc3.tar.gz
historical-8ad11944b3ad7f136e4b1159320ba141ba76fcc3.tar.bz2
historical-8ad11944b3ad7f136e4b1159320ba141ba76fcc3.zip
Added desktop entry and vmd icon (#262275).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/vmd/vmd-1.8.7.ebuild')
-rw-r--r--sci-chemistry/vmd/vmd-1.8.7.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-chemistry/vmd/vmd-1.8.7.ebuild b/sci-chemistry/vmd/vmd-1.8.7.ebuild
index 4123b59229c4..af027138f8da 100644
--- a/sci-chemistry/vmd/vmd-1.8.7.ebuild
+++ b/sci-chemistry/vmd/vmd-1.8.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7.ebuild,v 1.3 2009/08/07 13:29:11 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7.ebuild,v 1.4 2009/08/11 13:59:47 markusle Exp $
EAPI="2"
@@ -162,4 +162,10 @@ src_install() {
# adjust path in vmd wrapper
sed -e "s:${D}::" -i "${D}"/usr/bin/${PN} \
|| die "failed to set up vmd wrapper script"
+
+ # install icon and generate desktop entry
+ insinto /usr/share/pixmaps
+ doins "${FILESDIR}"/vmd.png || die "Failed to install vmd icon"
+ insinto /usr/share/applications
+ doins "${FILESDIR}"/vmd.desktop || die "Failed to install desktop entry"
}