diff options
author | Carl Smedstad | 2023-08-07 12:56:35 +0200 |
---|---|---|
committer | Carl Smedstad | 2023-08-07 16:14:35 +0200 |
commit | 0345300027c98a9df067f0fd9ee060daf08df10e (patch) | |
tree | 781e99f34cf9f0f007fb3f9ad1eafc246856a903 | |
parent | 4158c7842f5779c48d3a3e0ac14b372dc9a5fd5d (diff) | |
download | aur-0345300027c98a9df067f0fd9ee060daf08df10e.tar.gz |
Publish version 0.5.0-4 - Report correct version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = slack-term pkgdesc = Slack client for your terminal pkgver = 0.5.0 - pkgrel = 3 + pkgrel = 4 url = https://github.com/jpbruinsslot/slack-term arch = x86_64 license = MIT @@ -4,7 +4,7 @@ pkgname=slack-term pkgver=0.5.0 -pkgrel=3 +pkgrel=4 pkgdesc="Slack client for your terminal" arch=(x86_64) url="https://github.com/jpbruinsslot/slack-term" @@ -23,6 +23,12 @@ sha256sums=( _archive="$pkgname-$pkgver" +prepare() { + cd "$_archive" + + sed --in-place "s/VERSION = .*/VERSION = \"$pkgver\"/" main.go +} + build() { cd "$_archive" |