summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Reimair2020-06-18 11:06:04 +0200
committerFlorian Reimair2020-06-18 11:06:04 +0200
commit34c3017eb2bc725548d164f090076549fa382099 (patch)
tree8cad08375786aaf421fbe229f942e8802fc54c7b /PKGBUILD
parent2ef3ee54c077426844a9b08ba084f915d4e8d7fa (diff)
downloadaur-34c3017eb2bc725548d164f090076549fa382099.tar.gz
Shallow clone because of git-lfs
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 127d2aa8fc3..0d4c359ee81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,15 +10,18 @@ url="https://bisq.network"
license=('AGPL3')
depends=('java-runtime' 'bash')
makedepends=('git' 'git-lfs' 'maven' 'jdk11-openjdk' 'protobuf')
-source=("https://github.com/bisq-network/${pkgname}/archive/v${pkgver}.tar.gz"
- "bisq.desktop")
-sha256sums=('e94472226acd2c149baadc4d11e49895a248b537cb0710e1f6b3ebe5d865e479'
- '687d643fbe84660c3ebfe6270de98214f2e3ea791cb1d07d96d7ed889d61d406')
+source=("bisq.desktop")
+sha256sums=('687d643fbe84660c3ebfe6270de98214f2e3ea791cb1d07d96d7ed889d61d406')
_binname=Bisq
conflicts=("bisq-bin" "bisq-git")
provides=("bisq")
+prepare() {
+ rm -rf "${srcdir}/${pkgname}-${pkgver}"
+ git clone --depth=1 --branch=v${pkgver} https://github.com/bisq-network/bisq.git ${pkgname}-${pkgver}
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}" || exit
msg2 "Building bisq..."