summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-09-17 13:30:36 +0200
committerUlrich Müller <ulm@gentoo.org>2023-11-19 12:21:09 +0100
commit6a9b4495a2ffb0ff97a7356b7c66dc0d83d3f07c (patch)
tree2da4d384648e5cc532ca9702655e32878f714d72 /app-office
parentapp-crypt/gnupg-pkcs11-scd: use HTTPS (diff)
downloadgentoo-6a9b4495a2ffb0ff97a7356b7c66dc0d83d3f07c.tar.gz
gentoo-6a9b4495a2ffb0ff97a7356b7c66dc0d83d3f07c.tar.bz2
gentoo-6a9b4495a2ffb0ff97a7356b7c66dc0d83d3f07c.zip
app-office/projectlibre-bin: EAPI8 bump, version bump (v1.9.3)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/688854 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/projectlibre-bin/Manifest2
-rw-r--r--app-office/projectlibre-bin/projectlibre-bin-1.9.3.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/app-office/projectlibre-bin/Manifest b/app-office/projectlibre-bin/Manifest
index 81a9930a9e3d..a953177e739b 100644
--- a/app-office/projectlibre-bin/Manifest
+++ b/app-office/projectlibre-bin/Manifest
@@ -1,2 +1,4 @@
DIST projectlibre-1.6.2.tar.gz 14735171 BLAKE2B 1e69b3be153eb936879e930cf942faf0061b07b57e43db74f2f8d9380bbff969d764cbf70b29d5d38edb011331337258681888a5289b8fb04a997c0e38f1b651 SHA512 128319a37aeeb4603fd45433e3961805b0de30e5760394d5eef2de1910bff3815e600462aa3264fa64df55eb8568849895c9d673e5574badafcbc1df89e2c9e7
+DIST projectlibre-1.9.3.tar.gz 18213632 BLAKE2B d9fd75360fa009b03fd8a84261b15ec5d06880ade9725e4871235ea38eb743cec6c004fe67742d2b9a7bded90a59f41eda8c7f75c788a2873b88fc907fbff6c9 SHA512 fa96123dc51c3a145cbdfbe1e6a8612a50d793e7aa254fd72265cea4adbf84953a1d730fe4fc8cbd2369c2b713728862a27aa3ed9fa9693569bfa775ab9db18b
+DIST projectlibre.desktop 3070 BLAKE2B e023041d5e3f998dbb1202ac692a9668b5e2289a63795a65eecacabeec3c9b81244b095438cde1f3a198a32cb37494f3953f74dfb8249090b3d4681f9e3783f9 SHA512 10b5c608e860d9cedcaf81b7c4929db23bad81d989418d50a6ab5f92907d7770849648d13113c5db6b56ea3eb72b53721fd54b92740076dc4d3c3907178c92d3
DIST projectlibre.png 7955 BLAKE2B c8d35e249b8961d7a5d1a6b20844b30cc8a564c69a85791a036a05779352b24d1cc3956c6c7b83941152e06ece0ef1e0a1ff74231e47bd1efae7d1e20dc83764 SHA512 db6e87e74fac3274be34b36cd9daf7231f06e19096cfbe2feeb616c1ae1a60ffc838a81b45b94621d806e00ef5e220391f1d1be3148f9895aa467fdbcac62843
diff --git a/app-office/projectlibre-bin/projectlibre-bin-1.9.3.ebuild b/app-office/projectlibre-bin/projectlibre-bin-1.9.3.ebuild
new file mode 100644
index 000000000000..abf14b9911fd
--- /dev/null
+++ b/app-office/projectlibre-bin/projectlibre-bin-1.9.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+MY_PN=${PN/-bin}
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Open source desktop alternative to Microsoft Project"
+HOMEPAGE="https://www.projectlibre.com/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz
+ https://sourceforge.net/p/projectlibre/code/ci/master/tree/projectlibre_build/resources/${MY_PN}.desktop?format=raw -> ${MY_PN}.desktop
+ https://sourceforge.net/p/projectlibre/code/ci/master/tree/projectlibre_build/resources/${MY_PN}.png?format=raw -> ${MY_PN}.png"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="CPAL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8"
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cp "${FILESDIR}"/${MY_PN}.desktop "${DISTDIR}"/${MY_PN}.png ./ || die
+ cd "${S}" || die
+ rm -rf license projectlibre.bat || die
+}
+
+src_prepare() {
+ default
+ sed -i \
+ -e "/^PROJECTLIBRE_HOME0=/s|=.*|=\"/opt/${MY_PN}\"|" \
+ ${MY_PN}.sh || die
+}
+
+src_install() {
+ local d="/opt/${MY_PN}"
+ insinto ${d}
+ doins -r *
+ fperms a+rx ${d}/${MY_PN}.sh
+
+ dodir /opt/bin
+ dosym ../${MY_PN}/${MY_PN}.sh /opt/bin/${MY_PN}
+
+ doicon ../${MY_PN}.png
+ domenu ../${MY_PN}.desktop
+}