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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Apr 27 16:50:18 UTC 2022


    Date: Wednesday, April 27, 2022 @ 16:50:18
  Author: jelle
Revision: 1191276

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 16:50:13 UTC (rev 1191275)
+++ PKGBUILD	2022-04-27 16:50:18 UTC (rev 1191276)
@@ -1,45 +0,0 @@
-# Maintainer: Robin Broda <coderobe @ archlinux.org>
-pkgname=nebula
-pkgver=1.5.2
-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')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('391ac38161561690a65c0fa5ad65a2efb2d187323cc8ee84caa95fa24cb6c36a')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  for bin in nebula{,-cert,-service}
-  do go build \
-    -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
-}

Copied: nebula/repos/community-x86_64/PKGBUILD (from rev 1191275, nebula/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-27 16:50:18 UTC (rev 1191276)
@@ -0,0 +1,46 @@
+# Maintainer: Robin Broda <coderobe @ archlinux.org>
+pkgname=nebula
+pkgver=1.5.2
+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')
+options=('!lto')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('391ac38161561690a65c0fa5ad65a2efb2d187323cc8ee84caa95fa24cb6c36a')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  for bin in nebula{,-cert,-service}
+  do go build \
+    -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