diff options
author | StevesAMonkey | 2018-09-11 11:33:42 +0930 |
---|---|---|
committer | StevesAMonkey | 2018-09-11 11:33:42 +0930 |
commit | fe67e5e50f604592f8973f13d12d49e1574e8979 (patch) | |
tree | 888f3b2b699e4c266a6a2a769b818bfa87f336a5 | |
parent | 953aaccae394e4357cdb4dd7667add5e36813cc5 (diff) | |
download | aur-fe67e5e50f604592f8973f13d12d49e1574e8979.tar.gz |
Update to 2.5.0; fix symlinking in install file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | byteball.install | 42 |
3 files changed, 11 insertions, 41 deletions
@@ -1,6 +1,6 @@ pkgbase = byteball pkgdesc = Byteball cryptocurrency wallet client. - pkgver = 2.4.2 + pkgver = 2.5.0 pkgrel = 1 url = byteball.org install = byteball.install @@ -26,8 +26,8 @@ pkgbase = byteball depends = gtk2 depends = libexif options = !strip - source = https://github.com/byteball/byteball/releases/download/v2.4.2/byteball-linux64.zip - sha256sums = 0bf784b55228b115c7772b7677fa35fe230369caf20cdf97ec14f5026822f1e3 + source = https://github.com/byteball/byteball/releases/download/v2.5.0/byteball-linux64.zip + sha256sums = 0165bbeedbe0c633b77db8bf7464faee57214b4649401c0bd9be25d52538961d pkgname = byteball @@ -1,7 +1,7 @@ # Maintainer: Stephen Argent <steve [at] tuxcon [dot] com> pkgname=('byteball') -pkgver=2.4.2 +pkgver=2.5.0 pkgrel=1 pkgdesc="Byteball cryptocurrency wallet client." arch=('x86_64') @@ -28,7 +28,7 @@ depends=('binutils' 'gtk2' 'libexif') source=(https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/byteball-linux64.zip) -sha256sums=('0bf784b55228b115c7772b7677fa35fe230369caf20cdf97ec14f5026822f1e3') +sha256sums=('0165bbeedbe0c633b77db8bf7464faee57214b4649401c0bd9be25d52538961d') install="$pkgname.install" package() { unzip -o "${srcdir}/byteball-linux64.zip" diff --git a/byteball.install b/byteball.install index b2a298b380ed..de6122cd633e 100644 --- a/byteball.install +++ b/byteball.install @@ -1,43 +1,13 @@ post_install() { - ln -s /usr/share/byteball/Byteball /usr/bin/byteball - echo "##############################" - echo "##############################" - echo "######IMPORTANT NOTICE########" - echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - echo "According to the official release: " - echo "Linux users who upgrade from 1.10.0" - echo "will have to delete all files" - echo "(but not subdirectories!) in " - echo "~/.config/byteball/Default in order" - echo "to get rid of the annoying (but harmless)" - echo "popup about profile format. This is " - echo "because we had to revert to an older" - echo "version of nwjs to address #201." - echo " ****Backup before deleting. ***" - echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - echo "As this is a destructive action," - echo "I won't do this on your behalf." + if [ ! -f /usr/bin/byteball ]; then + ln -s /usr/share/byteball/Byteball /usr/bin/byteball + fi } post_upgrade() { - ln -s /usr/share/byteball/Byteball /usr/bin/byteball - echo "##############################" - echo "##############################" - echo "######IMPORTANT NOTICE########" - echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - echo "According to the official release: " - echo "Linux users who upgrade from 1.10.0" - echo "will have to delete all files" - echo "(but not subdirectories!) in " - echo "~/.config/byteball/Default in order" - echo "to get rid of the annoying (but harmless)" - echo "popup about profile format. This is " - echo "because we had to revert to an older" - echo "version of nwjs to address #201." - echo " ****Backup before deleting. ***" - echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" - echo "As this is a destructive action," - echo "I won't do this on your behalf." + if [ ! -f /usr/bin/byteball ]; then + ln -s /usr/share/byteball/Byteball /usr/bin/byteball + fi } post_remove() { |