Package Details: retoswap 1.4.0-1

Git Clone URL: https://aur.archlinux.org/retoswap.git (read-only, click to copy)
Package Base: retoswap
Description: Decentralised P2P exchange built on Monero and Tor - unofficial Reto network
Upstream URL: https://github.com/retoaccess1/haveno-reto
Licenses: AGPL-3.0-or-later
Conflicts: haveno, haveno-reto
Replaces: haveno-reto
Submitter: dujemiha
Maintainer: dujemiha
Last Packager: dujemiha
Votes: 12
Popularity: 0.86
First Submitted: 2024-12-21 15:24 (UTC)
Last Updated: 2026-05-20 20:39 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

dujemiha commented on 2024-12-21 15:27 (UTC)

Package renamed to retoswap in accordance with upstream's rename. Apologies for any inconvenience.

Latest Comments

1 2 Next › Last »

corv1d commented on 2026-05-20 05:11 (UTC)

PKGBUILD for 1.4.0 (latest release, for the lazy)

!/usr/bin/env bash
shellcheck disable=SC2034
shellcheck disable=SC2154
The PKGBUILD for Haveno-reto.
Based on the haveno PKGBUILD
Maintainer: Duje Mihanović duje.mihanovic@skole.hr
Contributor: Matheus matheusgwdl@protonmail.com

_pkgname=haveno-reto pkgname=retoswap pkgver=1.4.0 _versuffix=-reto pkgrel=1 pkgdesc='Decentralised P2P exchange built on Monero and Tor - unofficial Reto network' arch=('any') url="https://github.com/retoaccess1/$_pkgname" license=('AGPL-3.0-or-later') depends=('bash' 'java-runtime>=21') makedepends=('jdk21-openjdk') conflicts=('haveno' "$_pkgname") replaces=("$_pkgname") source=("$pkgname-v$pkgver.tar.gz::$url/archive/refs/tags/$pkgver$_versuffix.tar.gz" "$pkgname.desktop") sha512sums=('5549fd5129ad675472fa0c72e710c861b728c8e7c4513af9e664ec29571f52d104313f58d6ca61c55d38202a97209ed606b67e49d0c974bab6aa5f7dbe97b7e1' 'c6115853745acdb9c4bcf8dbf1e8479aa01131bc05641123cf45bf3fc6029e4edb0ce3930a3c372389e02a51874d686b6cc45166de1d9bba631e6e60c070ecd7') install="$pkgname.install"

build() { cd "$srcdir"/"$_pkgname"-"$pkgver""$_versuffix"/ || exit 1 JAVA_HOME=/usr/lib/jvm/java-21-openjdk ./gradlew -F lenient -x test build }

package() { # Assure that the directories exist. mkdir -p "$pkgdir"/usr/bin/ mkdir -p "$pkgdir"/usr/share/applications/ mkdir -p "$pkgdir"/usr/share/doc/"$_pkgname"/ mkdir -p "$pkgdir"/usr/share/java/"$_pkgname"/ mkdir -p "$pkgdir"/usr/share/pixmaps/

# Install the software.
cp -r "$srcdir"/"$_pkgname"-"$pkgver$_versuffix"/lib/ "$pkgdir"/usr/share/java/"$_pkgname"/

declare -ar _binaries=("haveno-apitest" "haveno-cli" "haveno-daemon" "haveno-desktop" "haveno-inventory" "haveno-monitor" "haveno-relay" "haveno-seednode" "haveno-statsnode")

for _binary in "${_binaries[@]}"; do
    install -Dm755 "$srcdir"/"$_pkgname"-"$pkgver$_versuffix"/"$_binary" "$pkgdir"/usr/share/java/"$_pkgname"/
    ln -s /usr/share/java/"$_pkgname"/"$_binary" "$pkgdir"/usr/bin/
done

install -Dm644 "$srcdir"/"$_pkgname"-"$pkgver$_versuffix"/desktop/package/linux/icon.png "$pkgdir"/usr/share/pixmaps/"$pkgname".png
install -Dm644 "$srcdir"/"$pkgname".desktop "$pkgdir"/usr/share/applications/"$pkgname".desktop

# Install the documentation.
cp -r "$srcdir"/"$_pkgname"-"$pkgver$_versuffix"/docs/* "$pkgdir"/usr/share/doc/"$_pkgname"/
find "$pkgdir"/usr/share/doc/"$_pkgname"/ -type d -exec chmod 755 {} +
find "$pkgdir"/usr/share/doc/"$_pkgname"/ -type f -exec chmod 644 {} +

}

dujemiha commented on 2026-01-25 17:09 (UTC)

Thanks for the report, I'll look into it.

auricom commented on 2026-01-24 11:25 (UTC)

The desktop shortcut didn't work for me and I had to edit the JAVA_HOME path, why not set it to /usr/lib/jvm/default-runtime instead of hard-coding a specific version?

dujemiha commented on 2025-12-06 18:20 (UTC)

Delete the old source tarball in your AUR helper cache. Alternatively I could add $_versuffix to the tarball's name, but I'm not sure whether that practice would be good.

revsuine commented on 2025-12-06 12:15 (UTC)

Latest update fails the SHA sum check for me.

dujemiha commented on 2024-12-21 15:27 (UTC)

Package renamed to retoswap in accordance with upstream's rename. Apologies for any inconvenience.

dujemiha commented on 2024-12-19 18:51 (UTC)

RetoSwap 1.0.15 is currently broken and so the package will remain on 1.0.14 for the time being. I will update the PKGBUILD as soon as I am aware of the issue being resolved.

dujemiha commented on 2024-11-16 11:06 (UTC)

@aljustiet Haveno is still using Gradle 8.6. According to Gradle's compatibility matrix, the latest JDK this Gradle version supports is 21. Besides forcing this JDK it might be possible to update Gradle either here or upstream, which I admittedly haven't thought about until now but could be doable.

aljustiet commented on 2024-11-16 10:48 (UTC)

@dujemiha Do you have any idea why it fails with JKD 23?

dujemiha commented on 2024-10-14 18:59 (UTC)

Please check the pinned comment:

make sure the default JDK is set to any variant of JDK 21 in archlinux-java