diff options
author | Tony Lambiris | 2022-08-29 19:55:47 -0400 |
---|---|---|
committer | Tony Lambiris | 2022-08-29 19:55:47 -0400 |
commit | 4947ee26a4045885a0cbb5c7eb8f3a229bd06e0a (patch) | |
tree | bd12810163e71a4ba9956062bcf84e8eec24f892 | |
parent | 242f9cc4a67fe19fa7a9bee54e60e511cdb9357a (diff) | |
download | aur-komanda-cli-git.tar.gz |
Version bump
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | runtime-fix.patch | 12 |
3 files changed, 25 insertions, 7 deletions
@@ -1,14 +1,16 @@ pkgbase = komanda-cli-git pkgdesc = The Komanda Command-line IRC Client - pkgver = v0.9.4.r24.g391040d + pkgver = 0.9.4.r32.g8596023 pkgrel = 1 url = https://github.com/mephux/komanda-cli arch = x86_64 license = BSD makedepends = go + makedepends = git makedepends = dep source = komanda-cli-git::git+https://github.com/mephux/komanda-cli.git + source = runtime-fix.patch sha256sums = SKIP + sha256sums = 1ff96e713c35aed197ba11d4681836b53016b1a83ea950c20cbaaaf2c122a560 pkgname = komanda-cli-git - @@ -1,25 +1,29 @@ # Maintainer: Tony Lambiris <tony@libpcap.net> pkgname=komanda-cli-git -pkgver=v0.9.4.r29.gb5ba03b +pkgver=0.9.4.r32.g8596023 pkgrel=1 pkgdesc='The Komanda Command-line IRC Client' arch=(x86_64) url='https://github.com/mephux/komanda-cli' license=(BSD) -makedepends=(go dep) -source=("${pkgname}::git+https://github.com/mephux/komanda-cli.git") -sha256sums=('SKIP') +makedepends=(go git dep) +source=("${pkgname}::git+https://github.com/mephux/komanda-cli.git" + "runtime-fix.patch") +sha256sums=('SKIP' + '1ff96e713c35aed197ba11d4681836b53016b1a83ea950c20cbaaaf2c122a560') pkgver() { cd "${srcdir}/${pkgname}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' } prepare() { cd "${srcdir}/${pkgname}" + patch -p1 -i '../runtime-fix.patch' + install -m755 -d "${srcdir}/go/src/github.com/mephux/" cp -a "${srcdir}/${pkgname}" "${srcdir}/go/src/github.com/mephux/komanda-cli" } diff --git a/runtime-fix.patch b/runtime-fix.patch new file mode 100644 index 000000000000..4186eb0fc27b --- /dev/null +++ b/runtime-fix.patch @@ -0,0 +1,12 @@ +diff --git a/komanda.go b/komanda.go +index 7bd5ad6..7ce2f7a 100644 +--- a/komanda.go ++++ b/komanda.go +@@ -6,7 +6,6 @@ import ( + "log" + "os" + "path" +- "runtime" + + "github.com/mephux/common" + "github.com/mephux/komanda-cli/komanda" |