Package Details: jrommanager 3.0.0-2

Git Clone URL: https://aur.archlinux.org/jrommanager.git (read-only, click to copy)
Package Base: jrommanager
Description: A Rom Manager entirely written in Java and released under GPL v2
Upstream URL: https://github.com/optyfr/JRomManager
Licenses: GPL2
Submitter: opty
Maintainer: opty
Last Packager: opty
Votes: 4
Popularity: 0.000000
First Submitted: 2018-07-06 21:04 (UTC)
Last Updated: 2023-04-08 20:06 (UTC)

Dependencies (2)

Required by (0)

Sources (4)

Latest Comments

abouvier commented on 2020-07-11 11:56 (UTC)

Building fails with Could not initialize class org.codehaus.groovy.reflection.ReflectionCache.

git is missing in makedepends by the way.

SpaceAgeHero commented on 2020-06-11 13:45 (UTC)

Thanks for the new version! However building fails for me.

  • What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

opty commented on 2019-10-10 21:07 (UTC)

@SpaceAgeHero hope 2.2.0 will build with java 11

deko commented on 2019-04-05 19:22 (UTC)

Also, a little detail, but pkgrel should be reset to 1 after every upstream update. Here's info https://wiki.archlinux.org/index.php/PKGBUILD#pkgrel

opty commented on 2019-04-04 05:02 (UTC)

@SpaceAgeHero this error tells that you were using jdk 10 or 11... the 2.1.0-8 source built pkg requires Java-environnement=8 for makedepends, it seems that’s not enough... I will release 2.1.1 just for supporting jdk 10/11 (while being still compilable with jdk 8)

SpaceAgeHero commented on 2019-04-03 17:28 (UTC)

Unfortunately building doesn't work on my machine:

Task :JRomManager:compileJava FAILED /home/SpaceAgeHero/.cache/yay/jrommanager/src/JRomManager/JRomManager/src/jrm/compressors/NArchive.java:39: error: illegal reference to restricted type 'var' import lombok.var; ^ 1 error

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':JRomManager:compileJava'.

opty commented on 2019-03-30 18:39 (UTC)

This package is now entirely built from source using gradle (thx to deko). To retrieve the old behavior, then look at https://aur.archlinux.org/packages/jrommanager-bin/

deko commented on 2019-03-23 19:01 (UTC)

Here's an updated pkgbuild which builds package from source. I think binary package should be in separate entry with -bin suffix.

pkgname=jrommanager
_gitname=JRomManager
pkgver=2.1.0
pkgrel=1
pkgdesc='A Rom Manager entirely written in Java and released under GPL v2'
arch=('any')
license=('GPL2')
url="https://github.com/optyfr/JRomManager"
depends=('java-runtime>=8')
makedepends=('java-environment>=8' 'gradle')
options=(!strip)
source=("git+https://github.com/optyfr/${_gitname}#tag=${pkgver}"
  "${_gitname}.desktop" 
  "${_gitname}.png"
  "${_gitname}.sh")
sha256sums=('SKIP'
            '070fc15f00ba27398e049f7c5753588a9907e3d92e5cbd8158ee66bff3ff7b0d'
            '247df543bd5d6f711952bf2903b074ed89f9b1df2fa4ec318b3e61ad270ae3b5'
            '3395aa7b9c51f15d81e4f3795536b45434ace01ba17b60c5207f71ab0436f413')

prepare() {
  cd $srcdir/$_gitname
  git submodule update --init --recursive
}

build() {
  cd $srcdir/$_gitname
  gradle build
}

package() {
  cd $srcdir/$_gitname/build/distributions

  mkdir -p $_gitname-ext
  bsdtar -xf $_gitname-$pkgver-install.jar
  bsdtar -xf $_gitname-$pkgver.zip -C $_gitname-ext
  cd $_gitname-ext

  mkdir -p "$pkgdir/usr/share/java/$pkgname/lib/"
  install -Dm755 *.sh "$pkgdir/usr/share/java/$pkgname/"
  install -Dm644 *.jar "$pkgdir/usr/share/java/$pkgname/"
  install -Dm644 lib/*.jar "$pkgdir/usr/share/java/$pkgname/lib/"
  cp -dr --preserve=mode {webclient,wrapper} "$pkgdir/usr/share/java/$pkgname/"
  install -Dm755 $srcdir/$_gitname.sh "$pkgdir/usr/bin/$pkgname"

  install -Dm644 $srcdir/$_gitname.desktop "$pkgdir/usr/share/applications/$_gitname.desktop"
  install -Dm644 $srcdir/$_gitname.png "$pkgdir/usr/share/pixmaps/$_gitname.png"
}