ATLauncher is not must dependency java8, It also can running in java16, the AUR PKGBUILD can be changed as that.
depends=('java-runtime>=8' 'openal')
makedepends=('java-environment>=8')
Git Clone URL: | https://aur.archlinux.org/atlauncher.git (read-only, click to copy) |
---|---|
Package Base: | atlauncher |
Description: | A launcher for Minecraft which integrates multiple different modpacks to allow you to download and install modpacks easily and quickly. |
Upstream URL: | https://github.com/ATLauncher/ATLauncher |
Licenses: | GPL3 |
Conflicts: | atlauncher-bin |
Provides: | atlauncher |
Submitter: | demon012 |
Maintainer: | demon012 (RyanTheAllmighty) |
Last Packager: | RyanTheAllmighty |
Votes: | 15 |
Popularity: | 0.68 |
First Submitted: | 2013-09-25 21:53 (UTC) |
Last Updated: | 2023-01-27 12:06 (UTC) |
ATLauncher is not must dependency java8, It also can running in java16, the AUR PKGBUILD can be changed as that.
depends=('java-runtime>=8' 'openal')
makedepends=('java-environment>=8')
Hi all.
I'm the developer of ATLauncher, and just leaving a comment to say that I'm starting to automate the updates to this package (as well as atlauncher-bin) so that they align with our official releases.
As part of this process I've made some changes which shouldn't cause any issues.
If there's any issues with this, or going forward, best to reach out in Discord (https://atl.pw/discord) or pop an issue/PR in GitHub (https://github.com/ATLauncher/ATLauncher).
Maybe you should add the -u flag to the cp command in the launcher script. I believe it's overriding the technically more up-to-date file causing the launcher to download the same update every time you launch it.
So, this may not be well known, but atlauncher has a github repo at https://github.com/ATLauncher/ATLauncher.
Using this, I created what I believe to better follow the Arch package guidelines and also would also cause aur helpers to break less:
# Maintainer: Alan Jenkins <alan.james.jenkins at gmail dot com>
# Contributor: Cobalt Space <cobaltspace at protonmail dot com>
# Contributor: Maximilian Berger <snowdragon92 at gmail dot com>
pkgname=atlauncher
_upstreamname=ATLauncher
pkgrel=2
pkgver=3.3.1.4
pkgdesc="A Launcher for Minecraft which integrates multiple different ModPacks to allow you to download and install ModPacks easily and quickly."
arch=('any')
url="https://github.com/ATLauncher/ATLauncher"
license=('GPL3')
depends=('java-runtime=8' 'openal')
makedepends=('java-environment=8' 'gradle')
provides=('atlauncher')
source=("$_upstreamname-$pkgver.tar.gz::https://github.com/ATLauncher/ATLauncher/archive/$pkgver.tar.gz"
"atlauncher"
"atlauncher.desktop"
"atlauncher.png"
)
md5sums=('04d7fcb7e1a56d3c2eb24d1e81681c5d'
'2aa7755e8bf88ba7ad7f7303d29b439f'
'bb6c25c948b8d2341a27803c123df453'
'e116c617332de8b19bf34f130c7eec2e')
build() {
cd "$_upstreamname-$pkgver"
gradle build
}
package() {
cd "$srcdir"
# create folder for the main jar executable
mkdir -p "$pkgdir/usr/share/java/atlauncher/"
chmod -R 755 "$pkgdir/usr/share/java/atlauncher/"
# create folder for other files
mkdir -p "$pkgdir/usr/share/atlauncher/Downloads"
chmod 777 "$pkgdir/usr/share/atlauncher/Downloads"
# install shell wrapper script
install -D -m755 "$srcdir/atlauncher" "$pkgdir/usr/bin/atlauncher"
# install jar
install -D -m644 "$srcdir/$_upstreamname-$pkgver/dist/$_upstreamname-$pkgver.jar" "$pkgdir/usr/share/java/atlauncher/ATLauncher.jar"
# install desktop launcher with icon
install -D -m644 "$srcdir/atlauncher.desktop" "$pkgdir/usr/share/applications/atlauncher.desktop"
install -D -m644 "$srcdir/atlauncher.png" "$pkgdir/usr/share/pixmaps/atlauncher.png"
}
I think the java dependency should be java-runtime=8 instead of just java-runtime.
Pinned Comments
RyanTheAllmighty commented on 2021-01-30 05:18 (UTC)
Hi all.
I'm the developer of ATLauncher, and just leaving a comment to say that I'm starting to automate the updates to this package (as well as atlauncher-bin) so that they align with our official releases.
As part of this process I've made some changes which shouldn't cause any issues.
If there's any issues with this, or going forward, best to reach out in Discord (https://atl.pw/discord) or pop an issue/PR in GitHub (https://github.com/ATLauncher/ATLauncher).