Package Details: jmt 1.0.4-1

Git Clone URL: https://aur.archlinux.org/jmt.git (read-only, click to copy)
Package Base: jmt
Description: Java Modelling Tools (JMT) is a comprehensive framework for performance evaluation, system modeling with analytical and simulation techniques, capacity planning and workload characterization studies.
Upstream URL: http://jmt.sourceforge.net/
Licenses: GPL2
Submitter: wil93
Maintainer: None
Last Packager: TheGoliath
Votes: 0
Popularity: 0.000000
First Submitted: 2016-05-31 09:37 (UTC)
Last Updated: 2020-02-10 21:03 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

duelle commented on 2023-04-28 10:15 (UTC)

Here's an updated PKGBUILD for version 1.2.3:

# Contributor: William Di Luigi <williamdiluigi@gmail.com>

pkgname=jmt
pkgver=1.2.3
pkgrel=1
pkgdesc="Java Modelling Tools (JMT) is a comprehensive framework for performance evaluation, system modeling with analytical and simulation techniques, capacity planning and workload characterization studies."
arch=('any')
url="http://jmt.sourceforge.net/"
license=('GPL2')
depends=('java-environment>=8')
source=("jmt.jar::http://downloads.sourceforge.net/project/jmt/jmt/JMT-${pkgver}/JMT-singlejar-${pkgver}.jar"
    "jmt.desktop")
sha256sums=('a2e250e6a8fb71b1df030ee3f23c1402f7c88939adc599b0aefbdada00f2ed46'
        '7f16e8dd880036a54e32cfc02213107c0efee1192bfb7ceddaa699b193490327')

package() {
  install -d -m755 $pkgdir/opt/$pkgname
  install -D -m644 $srcdir/jmt.jar $pkgdir/opt/$pkgname
  install -d -m755 $pkgdir/usr/bin

  cat << 'EOF' > $pkgdir/usr/bin/jmt
#!/bin/sh
"$JAVA_HOME/bin/java" -jar /opt/jmt/jmt.jar $@
EOF
  chmod 755 $pkgdir/usr/bin/jmt

  install -D -m644 $srcdir/jmt.desktop $pkgdir/usr/share/applications/jmt.desktop
}