summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Reimair2019-08-09 18:58:54 +0200
committerFlorian Reimair2019-08-09 18:58:54 +0200
commit77039d615ef15b1e890e560d0c0c05ae4939b192 (patch)
treec3eaa6d7ab77899a17e71feabe0463861e6f101a /PKGBUILD
parent0eeb02bc6e8bdff1ef74fe02c44be83b01dd46d4 (diff)
downloadaur-77039d615ef15b1e890e560d0c0c05ae4939b192.tar.gz
fix build paths
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce72e003638..b4951f9e990 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ conflicts=("bisq-bin" "bisq-git")
provides=("bisq")
build() {
- cd "${srcdir}/${pkgname}" || exit
+ cd "${srcdir}/${pkgname}-${pkgver}" || exit
msg2 "Building bisq..."
./gradlew build -Dorg.gradle.java.home=/usr/lib/jvm/java-10-openjdk -x test
}
@@ -27,12 +27,12 @@ build() {
package() {
# Install executable.
install -d "${pkgdir}/opt/bisq"
- cp -r "${srcdir}/${pkgname}/desktop/build/app/"* "${pkgdir}/opt/bisq"
- cp -r "${srcdir}/${pkgname}/bisq-desktop" "${pkgdir}/opt/bisq/"
+ cp -r "${srcdir}/${pkgname}-${pkgver}/desktop/build/app/"* "${pkgdir}/opt/bisq"
+ cp -r "${srcdir}/${pkgname}-${pkgver}/bisq-desktop" "${pkgdir}/opt/bisq/"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/bisq/bisq-desktop" "${pkgdir}/usr/bin/bisq-desktop"
# Install desktop launcher.
install -Dm644 bisq.desktop "${pkgdir}/usr/share/applications/bisq.desktop"
- install -Dm644 "${srcdir}/${pkgname}/desktop/package/linux/icon.png" "${pkgdir}/usr/share/pixmaps/bisq.png"
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}/desktop/package/linux/icon.png" "${pkgdir}/usr/share/pixmaps/bisq.png"
}