From 606e26e9dde3fe30c2070c5ed6ab7a68bfa1d7a5 Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 12 Feb 2020 15:19:41 +0100 Subject: [PATCH] projectlibre: fix start script how did it ever work? --- .../projectlibre/patches/010.no-bashism.patch | 17 ----------------- srcpkgs/projectlibre/template | 6 +++--- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/projectlibre/patches/010.no-bashism.patch diff --git a/srcpkgs/projectlibre/patches/010.no-bashism.patch b/srcpkgs/projectlibre/patches/010.no-bashism.patch deleted file mode 100644 index 72d53b65c96..00000000000 --- a/srcpkgs/projectlibre/patches/010.no-bashism.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- projectlibre.sh.orig -+++ projectlibre.sh -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - #******************************************************************************* - # The contents of this file are subject to the Common Public Attribution License -@@ -199,7 +199,7 @@ - PROJECTLIBRE_HOME="$PROJECTLIBRE_HOME0" - #PROJECTLIBRE_HOME can be harmful with multiple versions. disable - JAVA_OK="1" -- run_projectlibre --silentlyFail true "$@" || if [[ $? -eq 126 || $? -eq 127 || $? -eq 64 ]]; then -+ run_projectlibre --silentlyFail true "$@" || if [ $? -eq 126 -o $? -eq 127 -o $? -eq 64 ]; then - #126 command invoked cannot execute - #127 command not found - #64 bad java version/impl diff --git a/srcpkgs/projectlibre/template b/srcpkgs/projectlibre/template index 219e4522e62..d3103b0e2d4 100644 --- a/srcpkgs/projectlibre/template +++ b/srcpkgs/projectlibre/template @@ -1,13 +1,13 @@ # Template file for 'projectlibre' pkgname=projectlibre version=1.9.1 -revision=1 +revision=2 depends="virtual?java-runtime virtual?awk" short_desc="Open source project management (replacement for MS project)" maintainer="Piraty " license="CPAL-1.0" -homepage="http://www.projectlibre.com/" -distfiles="${SOURCEFORGE_SITE}/projectlibre/1.8/projectlibre-${version}.tar.gz" +homepage="https://www.projectlibre.com/" +distfiles="${SOURCEFORGE_SITE}/projectlibre/${version}/projectlibre-${version}.tar.gz" checksum=65ca96728eb5a31c3e23eb43181dde367d785a86b82f330ca52bc7b51c74a5bb do_install() {