diff options
author | Your Name | 2023-06-16 12:26:58 +0800 |
---|---|---|
committer | Your Name | 2023-06-16 12:26:58 +0800 |
commit | 9f4c765bb0d2815cf8707d1456df1ba35a9ef967 (patch) | |
tree | ace80fc842318de899e6556549cc5f495f8e7d62 | |
parent | 994bf23e37bb8fa709ccb90f4c02f84d3343f03f (diff) | |
download | aur-9f4c765bb0d2815cf8707d1456df1ba35a9ef967.tar.gz |
update
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 9 deletions
@@ -1,14 +1,14 @@ pkgbase = nexttrace pkgdesc = An open source visual route tracking CLI tool - pkgver = 1.1.5 + pkgver = 1.1.7 pkgrel = 1 - url = https://github.com/sjlleo/nexttrace + url = https://github.com/sjlleo/nexttrace-core install = nexttrace.install arch = x86_64 license = GPL makedepends = go makedepends = git - source = git+https://github.com/sjlleo/nexttrace.git#tag=v1.1.5 + source = git+https://github.com/sjlleo/nexttrace-core.git#tag=v1.1.7 sha256sums = SKIP pkgname = nexttrace @@ -1,17 +1,17 @@ pkgname=nexttrace -pkgver=1.1.5 +pkgver=1.1.7 pkgrel=1 pkgdesc='An open source visual route tracking CLI tool' arch=('x86_64') -url="https://github.com/sjlleo/nexttrace" +url="https://github.com/sjlleo/nexttrace-core" license=('GPL') makedepends=('go' 'git') -source=("git+https://github.com/sjlleo/nexttrace.git#tag=v$pkgver") +source=("git+https://github.com/sjlleo/nexttrace-core.git#tag=v$pkgver") sha256sums=('SKIP') install=nexttrace.install build() { - cd "$pkgname" + cd "nexttrace-core" export BUILD_VERSION="$(git describe --tags --always)" export COMMIT_SHA1="$(git rev-parse --short HEAD)" go build \ @@ -19,11 +19,11 @@ build() { -buildmode=pie \ -mod=readonly \ -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X 'github.com/xgadget-lab/nexttrace/printer.version=${BUILD_VERSION}' -X 'github.com/xgadget-lab/nexttrace/printer.commitID=${COMMIT_SHA1}' " \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X 'github.com/xgadget-lab/nexttrace/config.Version=${BUILD_VERSION}' -X 'github.com/xgadget-lab/nexttrace/config.CommitID=${COMMIT_SHA1}' " \ . } package() { - cd "$pkgname" + cd "nexttrace-core" install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname } |