mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: bisq-1.9.19
This commit is contained in:
parent
584bab3c19
commit
6c6df3c2c7
1 changed files with 31 additions and 0 deletions
31
srcpkgs/bisq/template
Normal file
31
srcpkgs/bisq/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue