#!/bin/sh
PKGNAME=apache-netbeans
SKIPREPACK=1
#SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Apache NetBeans from the official site"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
VERSION="$(epm tool eget --list https://dlcdn.apache.org/netbeans/netbeans-installers/* | tail -n1 | xargs basename)"
fi
pkgtype=$(epm print info -p)
case $pkgtype in
rpm)
mask="apache-netbeans-$VERSION-*.noarch.rpm"
;;
*)
mask="apache-netbeans_${VERSION}-*_all.deb"
;;
esac
# epm install "https://dlcdn.apache.org/netbeans/netbeans-installers/$VERSION/$mask"
PKGURL="https://archive.apache.org/dist/netbeans/netbeans-installers/$VERSION/$mask"
epm install "$PKGURL"
-
Vitaly Lipatov authored5581c095