[arch-commits] Commit in nebula/repos/community-x86_64 (PKGBUILD PKGBUILD)

Robin Broda coderobe at archlinux.org
Thu Apr 9 00:51:59 UTC 2020


    Date: Thursday, April 9, 2020 @ 00:51:56
  Author: coderobe
Revision: 612867

archrelease: copy trunk to community-x86_64

Added:
  nebula/repos/community-x86_64/PKGBUILD
    (from rev 612866, nebula/trunk/PKGBUILD)
Deleted:
  nebula/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 40 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-09 00:51:14 UTC (rev 612866)
+++ PKGBUILD	2020-04-09 00:51:56 UTC (rev 612867)
@@ -1,46 +0,0 @@
-# Maintainer: Robin Broda <coderobe @ archlinux.org>
-pkgname=nebula
-pkgver=1.1.0
-pkgrel=2
-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"
-}

Copied: nebula/repos/community-x86_64/PKGBUILD (from rev 612866, nebula/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-09 00:51:56 UTC (rev 612867)
@@ -0,0 +1,40 @@
+# Maintainer: Robin Broda <coderobe @ archlinux.org>
+pkgname=nebula
+pkgver=1.2.0
+pkgrel=0
+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=('1d00594d74e147406f5809380860f538ceed5c19c3f390dd1d8e364f99b303b6')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  for bin in nebula{,-cert,-service}
+  do go build \
+    -trimpath \
+    -ldflags "-extldflags ${LDFLAGS} -X main.Build=${pkgver}" \
+    -o "${bin}" "./cmd/${bin}"
+  done
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  go test -v ./...
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 dist/arch/nebula.service "${pkgdir}/usr/lib/systemd/system/nebula.service"
+
+  for bin in nebula{,-cert,-service}
+  do install -Dm755 "${bin}" "${pkgdir}/usr/bin/${bin}"
+  done
+}



More information about the arch-commits mailing list