summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Lybin2020-07-22 23:43:29 +0700
committerLev Lybin2020-07-22 23:43:29 +0700
commit7ace7f45de94bf9f1df9015491bfbbbbf3d62309 (patch)
tree744bd280f63a96f11ce58845425dbcfb92864d1b
parent4675ce6db4ea41ccafcc8b8528cbdaeb1f41a737 (diff)
downloadaur-btdex-git.tar.gz
upgpkg: v0.1.21.r101.g1ef37cd
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD19
-rw-r--r--btdex.desktop7
-rwxr-xr-xbtdex.sh7
5 files changed, 9 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0e424be8a2c..780722ed80a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = btdex-git
pkgdesc = Decentralized exchange system running on the Burst blockchain
- pkgver = v0.1.21.r0.g7cfa37a
+ pkgver = v0.1.21.r101.g1ef37cd
pkgrel = 1
url = https://github.com/btdex/btdex
install = btdex.install
@@ -14,11 +14,7 @@ pkgbase = btdex-git
conflicts = btdex
options = !strip
source = git+https://github.com/btdex/btdex.git
- source = btdex.sh
- source = btdex.desktop
sha256sums = SKIP
- sha256sums = 162e5c9fad5d5a5e5a59192a64ce6d1a5bf189465eeae4130332b3838f4d9c11
- sha256sums = d6ab59c4046cf2c3b8898c7635151e7bea726f0a914f9d353134982e56a1295f
pkgname = btdex-git
diff --git a/.gitignore b/.gitignore
index 272b1e18df9..64e6d61ae2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,4 @@
!PKGBUILD
!.SRCINFO
!*.install
-!.gitignore
-!btdex.desktop
-!btdex.sh \ No newline at end of file
+!.gitignore \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index d48969dc18c..6f05c2321cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=btdex
pkgname=btdex-git
-pkgver=v0.1.21.r0.g7cfa37a
+pkgver=v0.1.21.r101.g1ef37cd
pkgrel=1
pkgdesc='Decentralized exchange system running on the Burst blockchain'
arch=(x86_64)
@@ -15,13 +15,8 @@ makedepends=(git java-environment)
conflicts=(btdex)
provides=(btdex)
install=btdex.install
-source=(git+https://github.com/btdex/btdex.git
- btdex.sh
- btdex.desktop)
-sha256sums=('SKIP'
- '162e5c9fad5d5a5e5a59192a64ce6d1a5bf189465eeae4130332b3838f4d9c11'
- 'd6ab59c4046cf2c3b8898c7635151e7bea726f0a914f9d353134982e56a1295f')
-
+source=(git+https://github.com/btdex/btdex.git)
+sha256sums=('SKIP')
pkgver() {
cd $srcdir/${_pkgname}
@@ -37,12 +32,12 @@ package() {
cd $srcdir
install -d $pkgdir/opt/${_pkgname}
- install -Dm644 ${_pkgname}/build/libs/btdex-all.jar $pkgdir/opt/${_pkgname}/btdex.jar
- install -Dm755 btdex.sh $pkgdir/opt/${_pkgname}/btdex.sh
+ install -Dm644 ${_pkgname}/build/libs/btdex-all.jar $pkgdir/opt/${_pkgname}/btdex-all.jar
+ install -Dm755 ${_pkgname}/dist/btdex.sh $pkgdir/opt/${_pkgname}/btdex.sh
install -d $pkgdir/usr/bin
ln -sf /opt/${_pkgname}/btdex.sh $pkgdir/usr/bin/btdex
# Menu entry
- install -Dm644 ${_pkgname}.desktop -t $pkgdir/usr/share/applications
- install -Dm644 ${_pkgname}/build/resources/main/icon.png $pkgdir/usr/share/pixmaps/${_pkgname}.png
+ install -Dm644 ${_pkgname}/dist/btdex.desktop -t $pkgdir/usr/share/applications
+ install -Dm644 ${_pkgname}/dist/btdex.ico $pkgdir/usr/share/pixmaps/${_pkgname}.ico
}
diff --git a/btdex.desktop b/btdex.desktop
deleted file mode 100644
index 3eb4dc1a113..00000000000
--- a/btdex.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=BTDEX
-Comment=Decentralized exchange system running on the Burstcoin blockchain
-Icon=/usr/share/pixmaps/btdex.png
-Exec=/opt/btdex/btdex.sh
-Categories=Network;
diff --git a/btdex.sh b/btdex.sh
deleted file mode 100755
index b825603e096..00000000000
--- a/btdex.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-CONFIG_DIR="$HOME/.config/btdex"
-
-mkdir -p $CONFIG_DIR
-
-java -jar /opt/btdex/btdex.jar -f "$CONFIG_DIR/config.properties"