media-sound/helm: add desktop file for standalone helm
authorBen de Groot <yngwin@gentoo.org>
Sat, 22 Aug 2015 16:27:16 +0000 (00:27 +0800)
committerBen de Groot <yngwin@gentoo.org>
Sat, 22 Aug 2015 16:27:16 +0000 (00:27 +0800)
Also rm useless .DS_Store file

Package-Manager: portage-2.2.20.1

media-sound/helm/helm-0.4.1-r1.ebuild [moved from media-sound/helm/helm-0.4.1.ebuild with 82% similarity]

similarity index 82%
rename from media-sound/helm/helm-0.4.1.ebuild
rename to media-sound/helm/helm-0.4.1-r1.ebuild
index 396b133317a0198536408e3001a4ad1fe4e13f95..53c20dd4f77571b683d1be0222c7463718e73d23 100644 (file)
@@ -25,6 +25,7 @@ DEPEND="${RDEPEND}"
 DOCS="README.md"
 
 src_prepare() {
+       rm patches/Synth/.DS_Store || die
        sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
        epatch_user
 }
@@ -32,3 +33,8 @@ src_prepare() {
 src_compile() {
        emake PREFIX=/usr all
 }
+
+src_install() {
+       default
+       make_desktop_entry /usr/bin/helm Helm /usr/share/helm/icons/helm_icon_32_1x.png
+}