summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBryan Burke2020-06-03 12:06:04 -0400
committerBryan Burke2020-06-03 12:06:04 -0400
commit079a0e5fe67242e363afe68b27b446ee46a13431 (patch)
treec5bc839b5ea1967dd87321aab610781287698d5a /PKGBUILD
parent678ce5fe100e5d6f59bca932bed1139cf0cded0b (diff)
downloadaur-keys-pub-git.tar.gz
updates for new shared library build process
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b2ab3e894c6..4160498cdd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Bryan Burke <bryan.t.burke@gmail.com>
pkgname=keys-pub-git
-pkgver=v0.0.45
+pkgver=v0.0.47
pkgrel=1
pkgdesc='keys.pub CLI - keys and keysd'
arch=('x86_64')
@@ -19,6 +19,7 @@ build() {
(
set -o pipefail
cd "${pkgname}"
+ git config advice.detachedHead false
git checkout $(git describe --abbrev=0 --tags)
commit=$(git rev-parse --short HEAD)
date=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
@@ -28,7 +29,10 @@ build() {
go build -o bin/keysd -ldflags "-X main.version=$pkgver -X main.commit=$commit -X main.date=$date" ./keysd/main.go
go build -o bin/keys -ldflags "-X main.version=$pkgver -X main.commit=$commit -X main.date=$date" ./keys/main.go
- go build -o bin/fido2.so --buildmode=plugin -ldflags "-X main.version=$pkgver -X main.commit=$commit -X main.date=$date" ./fido2/plugin.go
+
+ cd ../auth/rpc
+
+ go build -o ../../service/bin/fido2.so --buildmode=plugin -ldflags "-X main.version=$pkgver -X main.commit=$commit -X main.date=$date" ./plugin/plugin.go
)
}