diff options
author | Miguel Mota | 2021-02-12 01:37:55 -0800 |
---|---|---|
committer | Miguel Mota | 2021-02-12 01:37:55 -0800 |
commit | 22e39d62e7a72eef31e7ccba1c7b0f1e4acf30d1 (patch) | |
tree | 72c3c823e56e4561cbff936d291a252773377146 | |
parent | 00e4482d42494ba12f18bcb43a55f5fab3f2f2a5 (diff) | |
download | aur-22e39d62e7a72eef31e7ccba1c7b0f1e4acf30d1.tar.gz |
Update to v1.6.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = cointop pkgdesc = An interactive terminal based UI application for tracking cryptocurrencies - pkgver = 1.5.5 + pkgver = 1.6.0 pkgrel = 1 url = https://github.com/miguelmota/cointop arch = i686 @@ -10,8 +10,8 @@ pkgbase = cointop license = APACHE makedepends = go depends = glibc - source = cointop-1.5.5.tar.gz::https://github.com/miguelmota/cointop/archive/v1.5.5.tar.gz - sha256sums = ec0a0765d768d5f019cf47b1173db84881b5540088cc0e5570fb8140355d3199 + source = cointop-1.6.0.tar.gz::https://github.com/miguelmota/cointop/archive/v1.6.0.tar.gz + sha256sums = 42f007173b2d0fc61d6364da6bfc53da5cb3a4f8288cc8bfffd53964a96fd8c2 pkgname = cointop @@ -1,7 +1,7 @@ # Maintainer: Stephen Gregoratto <dev@sgregoratto.me> # Maintainer: Miguel Mota <hello@miguelmota.com> pkgname=cointop -pkgver=1.5.5 +pkgver=1.6.0 pkgrel=1 pkgdesc="An interactive terminal based UI application for tracking cryptocurrencies" url="https://github.com/miguelmota/cointop" @@ -10,7 +10,7 @@ arch=('i686' 'x86_64' 'armv6h' 'armv7h') depends=('glibc') makedepends=('go') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('ec0a0765d768d5f019cf47b1173db84881b5540088cc0e5570fb8140355d3199') +sha256sums=('42f007173b2d0fc61d6364da6bfc53da5cb3a4f8288cc8bfffd53964a96fd8c2') prepare() { cd "$pkgname-$pkgver" @@ -22,24 +22,24 @@ diff -ura cointop-1.5.5old/cointop/version.go cointop-1.5.5new/cointop/version.g +++ cointop-1.5.5new/cointop/version.go 2021-01-03 20:49:08.289517518 +1100 @@ -1,36 +1,21 @@ package cointop - + -import ( - "fmt" - "runtime/debug" - "strings" -) +import "fmt" - + // version is the cointop version which will be populated by ldflags -var version string +var version string = "v$pkgver" - + // Version returns the cointop version func (ct *Cointop) Version() string { - return Version() + return version } - + // Version returns cointop version func Version() string { - ver := "(devel)" @@ -56,7 +56,7 @@ diff -ura cointop-1.5.5old/cointop/version.go cointop-1.5.5new/cointop/version.g - return ver + return version } - + // PrintVersion prints the version func PrintVersion() { - fmt.Println(Version()) |