Diff epspdf-0.6.3-r1 with a epspdf-0.6.5

/usr/portage/app-text/epspdf/epspdf-0.6.5.ebuild 2023-10-09 14:52:28.876368335 +0300
7 7

  
8 8
DESCRIPTION="GUI and command-line converter for [e]ps and pdf"
9 9
HOMEPAGE="http://tex.aanhet.net/epspdf/"
10
SRC_URI="http://tex.aanhet.net/epspdf/${PN}.${PV}.tgz"
10
# http://tex.aanhet.net/epspdf/${PN}.${PV}.tgz
11
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.zip"
12
S="${WORKDIR}"/${PN}
11 13

  
12 14
LICENSE="GPL-2"
13 15
SLOT="0"
14
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
15 17
IUSE="doc tk"
16 18

  
17
DEPEND="sys-apps/texinfo"
18 19
RDEPEND="!<dev-texlive/texlive-pictures-2011-r1
19 20
	>=dev-texlive/texlive-basic-2011
20 21
	app-text/ghostscript-gpl
21 22
	tk? ( dev-lang/tk )"
22

  
23
S=${WORKDIR}/${PN}
24
INSTALLDIR=/usr/share/${PN}
25
FILES="epspdf.tlu"
26
TKFILES="epspdf.help doc/images/epspdf.png epspdftk.tcl"
23
BDEPEND="app-arch/unzip
24
	sys-apps/texinfo"
27 25

  
28 26
src_compile() {
29
	cd doc
27
	cd doc || die
30 28
	makeinfo epspdf || die
31 29
}
32 30

  
33 31
src_install() {
34
	dodir ${INSTALLDIR}
35
	cp -p ${FILES} "${ED}/${INSTALLDIR}" || die
32
	exeinto /usr/share/${PN}
33
	doexe epspdf.tlu
34

  
35
	insinto /usr/share/${PN}
36

  
36 37
	if use tk ; then
37
		cp -p ${TKFILES} "${ED}/${INSTALLDIR}" || die
38
		doins epspdf.help doc/images/epspdf.png
39
		doexe epspdftk.tcl
38 40
	fi
39
	dobin_texmf_scripts "${PN}/epspdf.tlu"
40
	use tk && dobin_texmf_scripts "${PN}/epspdftk.tcl"
41

  
42
	dobin_texmf_scripts ${PN}/epspdf.tlu
43
	use tk && dobin_texmf_scripts ${PN}/epspdftk.tcl
41 44

  
42 45
	doinfo doc/epspdf.info
43 46
	dodoc doc/Changelog
......
46 49
		dodoc -r doc
47 50
	fi
48 51

  
49
	# give it a .desktop
52
	# Give it a .desktop
50 53
	if use tk; then
51
		make_desktop_entry epspdftk epspdftk "${INSTALLDIR}/epspdf.png" "Graphics;ImageProcessing"
54
		make_desktop_entry epspdftk epspdftk "${EPREFIX}/usr/share/${PN}/epspdf.png" "Graphics;ImageProcessing"
52 55
	fi
53 56
}
Thank you!