Commit ad91dc8a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play/repack improve freeplane

parent 4292b6bd
......@@ -2,15 +2,14 @@
PKGNAME=freeplane
SUPPORTEDARCHES="x86_64 x86"
VERSION="$2"
DESCRIPTION="FreePlane from the official site"
URL="http://freeplane.sourceforge.net"
. $(dirname $0)/common.sh
PKGURL="https://nav.dl.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_1.11.2~upstream-1_all.deb"
[ "$VERSION" = "*" ] && VERSION="$(eget -O- https://sourceforge.net/projects/$PKGNAME/best_release.json | sed -e 's|.*freeplane_bin-||g' -e 's|\.zip.*||')"
if [ "$(epm print info -s)" = "alt" ] ; then
repack="--repack"
fi
PKGURL="https://nav.dl.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb"
epm install $repack "$PKGURL"
epm install "$PKGURL"
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
move_to_opt
ln -sf $PRODUCTDIR/$PRODUCT.sh usr/bin/$PRODUCT
fix_desktop_file "/usr/bin/freeplane/$PRODUCT"
remove_dir /usr/lib/mime
add_requires java-openjdk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment