Package Details: bisq2 2.1.0-1

Git Clone URL: https://aur.archlinux.org/bisq2.git (read-only, click to copy)
Package Base: bisq2
Description: The Decentralized Trading Platform
Upstream URL: https://bisq.network
Licenses: AGPL3
Provides: bisq2
Submitter: nojo
Maintainer: nojo
Last Packager: nojo
Votes: 3
Popularity: 0.078947
First Submitted: 2024-03-15 22:00 (UTC)
Last Updated: 2024-08-22 09:45 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

3cola commented on 2024-08-22 10:30 (UTC)

I guess it is possible. I did not try. I guess you will have to get the target architecture and get the install line correct.
Thank you for updating the package.

nojo commented on 2024-08-22 09:46 (UTC)

@3cola thanks, updated. btw, do you know if it is possible to build for non-x86_64 platforms?

3cola commented on 2024-08-21 19:39 (UTC) (edited on 2024-08-21 19:39 (UTC) by 3cola)

New version of bisq2 (2.1.0) is available. The following worked for me.

diff --git a/PKGBUILD b/PKGBUILD
index e591424..59eaaea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
 # Co-Maintainer: Felix Golatofski <contact@xdfr.de>

 pkgname=bisq2
-pkgver=2.0.4
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="The Decentralized Trading Platform"
 arch=('any')
 url="https://bisq.network"
 license=('AGPL3')
-depends=('java-runtime=17')
-makedepends=('java-environment=17' 'git')
+depends=('java-runtime=22')
+makedepends=('java-environment=22' 'git')
 source=("git+https://github.com/bisq-network/bisq2#tag=v$pkgver"
        "bisq2.desktop")
 sha256sums=('SKIP'
@@ -21,7 +21,7 @@ provides=("bisq2")
 build() {
   cd "${srcdir}/${pkgname}"
   msg2 "Building bisq2..."
-  ./gradlew desktop:desktop-app:build
+  ./gradlew apps:desktop:desktop-app:build
 }

 check() {
@@ -33,7 +33,7 @@ check() {
 package() {
   # Install executable.
   optdir="${pkgdir}/opt/bisq2"
-  install -Dm644 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/libs/desktop-app-$pkgver-all.jar" "${optdir}/lib/desktop-app-$pkgver-all.jar"
+  install -Dm644 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/libs/desktop-app-$pkgver-linux_x86_64-all.jar" "${optdir}/lib/desktop-app-$pkgver-linux_x86_64-all.jar"
   install -Dm755 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/scriptsShadow/desktop-app" "${optdir}/bin/bisq2-desktop"
   install -d "${pkgdir}/usr/bin"
   ln -s "/opt/bisq2/bin/bisq2-desktop" "${pkgdir}/usr/bin/bisq2-desktop"

nojo commented on 2024-03-16 12:46 (UTC)

@Ranguvar Thank you for your comment, I've replaced the java requirement with java-environment=17

Ranguvar commented on 2024-03-15 22:28 (UTC) (edited on 2024-03-15 22:42 (UTC) by Ranguvar)

Thanks so much for uploading this!

However I couldn't get it to build until I ran archlinux-java set zulu-17.

I suggest setting the dependency to 'java-environment=17' so that jdk17-openjdk could be used instead of zulu-17-bin if desired.

Obviously if OpenJDK is used the command must be archlinux-java set java-17-openjdk.

I can confirm the app and profile setup wizard run fine with OpenJDK, but haven't proceeded further yet.