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 | |
parent | 0b7f3e7d5c503c9ef78e35bdd2a772571a64573c (diff) | |
download | brancik-overlay-4a2c4a39a01adb3014663344ab739a8a681c691f.tar.gz brancik-overlay-4a2c4a39a01adb3014663344ab739a8a681c691f.tar.bz2 |
Add app-office/portablesigner
-rw-r--r-- | app-office/portablesigner/Manifest | 1 | ||||
-rw-r--r-- | app-office/portablesigner/files/portablesigner-2.0_fix_desktopfile.patch | 14 | ||||
-rw-r--r-- | app-office/portablesigner/metadata.xml | 17 | ||||
-rw-r--r-- | app-office/portablesigner/portablesigner-2.0.ebuild | 43 |
4 files changed, 75 insertions, 0 deletions
diff --git a/app-office/portablesigner/Manifest b/app-office/portablesigner/Manifest new file mode 100644 index 0000000..5fc90a4 --- /dev/null +++ b/app-office/portablesigner/Manifest @@ -0,0 +1 @@ +DIST PortableSigner-Generic-2.0.38c0573.zip 5219989 SHA256 16318fcc3234865ea5559627ad8abcfcec60d29d4a8dcd77c86459f9a6adf5f5 SHA512 3b227dacb77f2fc70ebd2f293b84cf4d8d7ea1dcafdc92d5941f4356b97ec406837ded1c27afad2d18612cc00e679d2cbae2a8c8adbe4899a51ab4c23ff9e898 WHIRLPOOL ad4b1f6175933555ed087eddcccb0947defe89ec54c855cf1a4f87a5dfdec7e47c6e39dffda5bffe56a7b85fede126c12012f02eaba680fcc94e106fea436ed2 diff --git a/app-office/portablesigner/files/portablesigner-2.0_fix_desktopfile.patch b/app-office/portablesigner/files/portablesigner-2.0_fix_desktopfile.patch new file mode 100644 index 0000000..c97d57b --- /dev/null +++ b/app-office/portablesigner/files/portablesigner-2.0_fix_desktopfile.patch @@ -0,0 +1,14 @@ +--- linux/portablesigner.desktop 2013-02-15 14:21:48.000000000 +0100 ++++ linux/portablesigner.desktop.new 2015-11-29 18:31:00.143411906 +0100 +@@ -2,9 +2,9 @@ + Version=1.0 + Terminal=false + Exec=PortableSigner +-Icon=/usr/local/PortableSigner/PortableSignerLogo.png ++Icon=/usr/share/icons/PortableSignerLogo.png + Type=Application +-Categories=Application;Office ++Categories=Office; + StartupNotify=false + Name=PortableSigner + Name[de]=PortableSigner PDF signieren diff --git a/app-office/portablesigner/metadata.xml b/app-office/portablesigner/metadata.xml new file mode 100644 index 0000000..7700bb4 --- /dev/null +++ b/app-office/portablesigner/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ctibor@brancik.cz</email> + <name>Ctibor Brančík</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>peter@pflaeging.net</email> + <name>Peter Pfläging</name> + </maintainer> + <changelog>http://portablesigner.sourceforge.net/</changelog> + <doc lang="en">http://portablesigner.sourceforge.net/</doc> + <remote-id type="sourceforge">portablesigner</remote-id> + <remote-id type="github">pflaeging/PortableSigner2</remote-id> +</pkgmetadata> 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 +} + + |