This commit is contained in:
Nico 2025-04-03 20:37:02 -07:00 committed by GitHub
commit b472b0ab2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

31
srcpkgs/bisq/template Normal file
View file

@ -0,0 +1,31 @@
# Template file for 'bisq'
pkgname=bisq
version=1.9.19
revision=1
makedepends="openjdk11"
short_desc="Decentralized bitcoin exchange network"
maintainer="Nico <void@flatorange.com>"
license="AGPL-3.0-only"
homepage="https://bisq.network"
distfiles="https://github.com/bisq-network/bisq/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=73c960c25bb40f7e42256544279f44b7b526895f493c13c7fdd6b593048912d1
do_build() {
sed -i '/vendor = JvmVendorSpec.AZUL/d' build-logic/commons/src/main/groovy/bisq.java-conventions.gradle
sed -i '/implementation = JvmImplementation.VENDOR_SPECIFIC/d' build-logic/commons/src/main/groovy/bisq.java-conventions.gradle
export JAVA_HOME=/usr/lib/jvm/openjdk11
./gradlew clean :desktop:build -Dorg.gradle.java.home=/usr/lib/jvm/openjdk11 -x test
}
do_install() {
# Install executable.
install -d "${DESTDIR}/opt/bisq"
cp -r "desktop/build/app/"* "${DESTDIR}/opt/bisq"
cp -r "bisq-desktop" "${DESTDIR}/opt/bisq/"
install -d "${DESTDIR}/usr/bin"
ln -s "/opt/bisq/bisq-desktop" "${DESTDIR}/usr/bin/bisq-desktop"
}
post_install() {
vlicense LICENSE
}