summaryrefslogtreecommitdiff
path: root/x11-misc/pdfpres/pdfpres-0.2.3_p1.ebuild
blob: 0986cf71de29c228065abed860342bb9284a6c61 (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
32
33
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
PYTHON_DEPEND="2"

inherit eutils python vcs-snapshot

REV=404908827b4eb1eef8e54a71dbb7067b270fbc1b

DESCRIPTION="Dual head PDF presenter"
HOMEPAGE="http://www.uninformativ.de/projects/?q=pdfpres"
SRC_URI="https://github.com/vain/${PN}/archive/${REV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}/${P}-fix_fullscreen.patch"
}

src_install() {
	dodoc README || die

	newbin legacy-notes-converter.py ${PN}-legacy-notes-converter || die
	python_convert_shebangs 2 "${D}"/usr/bin/${PN}-legacy-notes-converter || die

	dobin ${PN} || die
	doman man1/${PN}.1 || die
}