[arch-commits] Commit in nebula/repos/community-x86_64 (PKGBUILD PKGBUILD)
Robin Broda
coderobe at archlinux.org
Mon Jan 27 14:50:02 UTC 2020
Date: Monday, January 27, 2020 @ 14:50:02
Author: coderobe
Revision: 556080
archrelease: copy trunk to community-x86_64
Added:
nebula/repos/community-x86_64/PKGBUILD
(from rev 556078, nebula/trunk/PKGBUILD)
Deleted:
nebula/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 46 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-27 14:49:56 UTC (rev 556079)
+++ PKGBUILD 2020-01-27 14:50:02 UTC (rev 556080)
@@ -1,40 +0,0 @@
-# Maintainer: Robin Broda <coderobe @ archlinux.org>
-pkgname=nebula
-pkgver=1.0.0
-pkgrel=1
-pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security'
-arch=('x86_64')
-url='https://github.com/slackhq/nebula'
-license=('MIT')
-depends=()
-makedepends=('go-pie')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('e0585ef37fae1f8db18cdea20648d4087e586b20ff0961ab7eac59a6c9bdafa2')
-
-build() {
- cd "${pkgname}-${pkgver}"
-
- go build \
- -trimpath \
- -ldflags "-extldflags ${LDFLAGS} -X main.Build=$(date -u '+%Y%m%d%H%M%S' -d @${SOURCE_DATE_EPOCH})" \
- -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})" \
- -o ./nebula-cert ./cmd/nebula-cert
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
-
- go test -v ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
-
- 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"
-}
Copied: nebula/repos/community-x86_64/PKGBUILD (from rev 556078, nebula/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-27 14:50:02 UTC (rev 556080)
@@ -0,0 +1,46 @@
+# Maintainer: Robin Broda <coderobe @ archlinux.org>
+pkgname=nebula
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='A scalable overlay networking tool with a focus on performance, simplicity and security'
+arch=('x86_64')
+url='https://github.com/slackhq/nebula'
+license=('MIT')
+depends=()
+makedepends=('go-pie')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ go build \
+ -trimpath \
+ -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \
+ -o ./nebula ./cmd/nebula
+
+ go build \
+ -trimpath \
+ -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() {
+ cd "${pkgname}-${pkgver}"
+
+ go test -v ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ 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