diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-29 19:29:12 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-29 19:29:12 +0100 |
commit | 4a2c4a39a01adb3014663344ab739a8a681c691f (patch) | |
tree | b510d545ded8dfd3f9f8d2503bc38e36894c4bfb /app-office/portablesigner/portablesigner-2.0.ebuild | |
parent | 0b7f3e7d5c503c9ef78e35bdd2a772571a64573c (diff) | |
download | brancik-overlay-4a2c4a39a01adb3014663344ab739a8a681c691f.tar.gz brancik-overlay-4a2c4a39a01adb3014663344ab739a8a681c691f.tar.bz2 |
Add app-office/portablesigner
Diffstat (limited to 'app-office/portablesigner/portablesigner-2.0.ebuild')
-rw-r--r-- | app-office/portablesigner/portablesigner-2.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-office/portablesigner/portablesigner-2.0.ebuild b/app-office/portablesigner/portablesigner-2.0.ebuild new file mode 100644 index 0000000..c0e3f41 --- /dev/null +++ b/app-office/portablesigner/portablesigner-2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +DESCRIPTION="PortableSigner is a signing (with X.509 certificates) program for PDF files." +SLOT="0" + +PKGVER="2.0.38c0573" + +inherit eutils java-utils-2 + +HOMEPAGE="http://portablesigner.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/PortableSigner-Generic-${PKGVER}.zip" + +LICENSE="EUPL" +KEYWORDS="~amd64 ~x86" + +RDEPEND="virtual/jre:1.7" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}/portablesigner-2.0_fix_desktopfile.patch" +} + +src_install() { + java-pkg_jarinto /opt/PortableSigner + java-pkg_dojar PortableSigner.jar + java-pkg_jarinto /opt/PortableSigner/lib + java-pkg_dojar lib/bcprov-ext-jdk16-146.jar lib/commons-cli-1.2.jar lib/itextpdf-5.1.3.jar lib/quaqua.jar lib/swing-layout-1.0.4.jar + java-pkg_dolauncher PortableSigner --pwd /opt/PortableSigner --jar /opt/PortableSigner/PortableSigner.jar -into /opt/PortableSigner + insinto /usr/share/icons + doins linux/PortableSignerLogo.png + insinto /usr/share/applications + doins linux/portablesigner.desktop + dosym /opt/PortableSigner/bin/PortableSigner /opt/bin/PortableSigner +} + + |