summaryrefslogtreecommitdiff
blob: 6c6b4415799c5b3d397b1052d89dca3d2518f8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils fdo-mime

DESCRIPTION="A launcher and desktop association for Microsoft Windows *.URL (text/x-uri) files"
HOMEPAGE="http://bugs.launchpad.net/ubuntu/+source/mime-support/+bug/185165/comments/12"
SRC_URI="http://launchpadlibrarian.net/20406796/mswinurl_launcher.py"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-util/desktop-file-utils"
RDEPEND="dev-lang/python"

src_install() {
	dobin "${DISTDIR}"/${PN}.py || die
	domenu "${FILESDIR}/${PN}.desktop" || die
}

pkg_postinst() {
	fdo-mime_desktop_database_update
}

pkg_postrm() {
	fdo-mime_desktop_database_update
}