diff options
author | David Foucher | 2022-02-22 17:35:21 +0100 |
---|---|---|
committer | David Foucher | 2022-02-22 17:35:21 +0100 |
commit | c3940867f22f480de6e22685e33c98a067400e89 (patch) | |
tree | 98ac6a5d27c75714950d836891ea5a88f9187e23 | |
parent | f969d8a1a6ad1b39c9496e3f34e4b42acf93483f (diff) | |
download | aur-c3940867f22f480de6e22685e33c98a067400e89.tar.gz |
Update version to 2.1
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = wego pkgdesc = Weather app for the terminal - pkgver = 2.0.r48.g994e4f1 + pkgver = 2.1 pkgrel = 1 url = https://github.com/schachmat/wego arch = x86_64 @@ -8,8 +8,7 @@ pkgbase = wego makedepends = git makedepends = go depends = glibc - source = wego-2.0.r48.g994e4f1.tar.gz::https://github.com/schachmat/wego/archive/994e4f141759a1070d7b0c8fbe5fad2cc7ee7d45.tar.gz - sha512sums = 8ee2747f4a6a0655125fd197b40bea9cf6ae11728a68c35e08863906a54b195e16be932e007dfa9be61452b59503126c92b9785f467a5b38f4f6f6d3e12e71e4 + source = wego-2.1.tar.gz::https://github.com/schachmat/wego/archive/refs/tags/2.1.tar.gz + sha512sums = 80cc19ea34bdb536ab48ef6e074f86b58dab59f76270688ca2d4c562c5eb34f177597108f2159e6ef33ee2485c068a7904ddf7bf8d0b79cb825ca7b73b0fefa2 pkgname = wego - @@ -1,8 +1,7 @@ # Maintainer: David Foucher <dev@tyjak.net> -_commit=994e4f141759a1070d7b0c8fbe5fad2cc7ee7d45 pkgname=wego -pkgver=2.0.r48.g994e4f1 +pkgver=2.1 pkgrel=1 pkgdesc='Weather app for the terminal' url=https://github.com/schachmat/wego @@ -10,16 +9,16 @@ arch=('x86_64') license=('ISC') depends=('glibc') makedepends=('git' 'go') -source=("wego-$pkgver.tar.gz::$url/archive/$_commit.tar.gz") -sha512sums=('8ee2747f4a6a0655125fd197b40bea9cf6ae11728a68c35e08863906a54b195e16be932e007dfa9be61452b59503126c92b9785f467a5b38f4f6f6d3e12e71e4') +source=("wego-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") +sha512sums=('80cc19ea34bdb536ab48ef6e074f86b58dab59f76270688ca2d4c562c5eb34f177597108f2159e6ef33ee2485c068a7904ddf7bf8d0b79cb825ca7b73b0fefa2') prepare() { mkdir -p src/github.com/schachmat - ln -rsnf wego-$_commit src/${url#*//} + ln -rsnf wego-$pkgver src/${url#*//} } build() { - cd wego-$_commit + cd wego-$pkgver export GOPATH="$srcdir" go get -u -v github.com/schachmat/ingo go get -u -v github.com/mattn/go-colorable @@ -28,8 +27,8 @@ build() { } package() { - cd wego-$_commit - install -Dm755 wego-$_commit "$pkgdir"/usr/bin/$pkgname + cd wego-$pkgver + install -Dm755 wego "$pkgdir"/usr/bin/$pkgname install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |