diff options
-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 } |