summaryrefslogtreecommitdiff
blob: 299f8564ae4d139bc105d2e69791b436aaad4e4c (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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

MY_P="master-pdf-editor"
MY_V=4
DESCRIPTION="Create, convert and edit PDF and XPS files"
HOMEPAGE="http://code-industry.net/pdfeditor.php"
SRC_URI="http://code-industry.net/public/${MY_P}-${PV}_i386.tar.gz"

LICENSE="CodeIndustry"
SLOT="0"
KEYWORDS="x86"
IUSE=""

QA_PREBUILT="/opt/${PN}/pdfeditor"

DEPEND=">=dev-qt/qtcore-4.8.1:4"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}-${MY_V}

src_install() {
  insinto /opt/${PN}
  doins -r *
  fperms 755 /opt/${PN}/masterpdfeditor${MY_V}
  dosym /opt/${PN}/masterpdfeditor${MY_V} /opt/bin/pdfeditor
}