[arch-commits] Commit in nebula/trunk (PKGBUILD)
Robin Broda
coderobe at archlinux.org
Mon Jan 27 14:49:23 UTC 2020
Date: Monday, January 27, 2020 @ 14:49:22
Author: coderobe
Revision: 556077
upgpkg: nebula 1.1.0-1: 1.1.0
Modified:
nebula/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-27 14:48:58 UTC (rev 556076)
+++ PKGBUILD 2020-01-27 14:49:22 UTC (rev 556077)
@@ -1,6 +1,6 @@
# Maintainer: Robin Broda <coderobe @ archlinux.org>
pkgname=nebula
-pkgver=1.0.0
+pkgver=1.1.0
pkgrel=1
pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security'
arch=('x86_64')
@@ -9,7 +9,7 @@
depends=()
makedepends=('go-pie')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('e0585ef37fae1f8db18cdea20648d4087e586b20ff0961ab7eac59a6c9bdafa2')
+sha256sums=('ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd')
build() {
cd "${pkgname}-${pkgver}"
@@ -16,13 +16,18 @@
go build \
-trimpath \
- -ldflags "-extldflags ${LDFLAGS} -X main.Build=$(date -u '+%Y%m%d%H%M%S' -d @${SOURCE_DATE_EPOCH})" \
+ -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \
-o ./nebula ./cmd/nebula
go build \
-trimpath \
- -ldflags "-extldflags ${LDFLAGS} -X main.Build=$(date -u '+%Y%m%d%H%M%S' -d @${SOURCE_DATE_EPOCH})" \
+ -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \
-o ./nebula-cert ./cmd/nebula-cert
+
+ go build \
+ -trimpath \
+ -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \
+ -o ./nebula-service ./cmd/nebula-service
}
check() {
@@ -37,4 +42,5 @@
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 nebula "${pkgdir}/usr/bin/nebula"
install -Dm755 nebula-cert "${pkgdir}/usr/bin/nebula-cert"
+ install -Dm755 nebula-service "${pkgdir}/usr/bin/nebula-service"
}
More information about the arch-commits
mailing list