/[gentoo-x86]/media-gfx/evoluspencil/evoluspencil-2.0.4.ebuild
Gentoo

Contents of /media-gfx/evoluspencil/evoluspencil-2.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jul 27 19:44:14 2014 UTC (5 years, 11 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/evoluspencil/evoluspencil-2.0.4.ebuild,v 1.3 2013/08/28 11:15:43 ago Exp $
4
5 EAPI=5
6 MY_P="pencil-${PV}"
7
8 inherit eutils fdo-mime
9
10 DESCRIPTION="A simple GUI prototyping tool to create mockups."
11 HOMEPAGE="http://pencil.evolus.vn/"
12 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18
19 RDEPEND="|| ( www-client/firefox www-client/firefox-bin )"
20
21 S=${WORKDIR}/${MY_P}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-exportpng.patch
25
26 # avoid file collisions with media-gfx/pencil
27 mv usr/bin/{pencil,${PN}} || die
28 mv usr/share/{pencil,${PN}} || die
29 mv usr/share/applications/{pencil,${PN}}.desktop || die
30
31 sed -e "s/pencil/${PN}/" -i usr/bin/${PN} \
32 -i usr/share/applications/${PN}.desktop || die
33 }
34
35 src_install() {
36 doins -r usr
37 newbin "${FILESDIR}"/launcher ${PN}
38 }
39
40 pkg_postinst() {
41 fdo-mime_desktop_database_update
42 }
43
44 pkg_postrm() {
45 fdo-mime_desktop_database_update
46 }

  ViewVC Help
Powered by ViewVC 1.1.20