summaryrefslogtreecommitdiff
blob: 2411950d0918081fc0c15b8d8dc86bbde1fb38e1 (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
31
# 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://get.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}
		media-gfx/sane-backends"

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
}