Date: Wednesday, May 19, 2021 @ 19:16:52 Author: coderobe Revision: 936674
archrelease: copy trunk to community-x86_64 Added: nebula/repos/community-x86_64/PKGBUILD (from rev 936673, nebula/trunk/PKGBUILD) Deleted: nebula/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-19 19:16:50 UTC (rev 936673) +++ PKGBUILD 2021-05-19 19:16:52 UTC (rev 936674) @@ -1,45 +0,0 @@ -# Maintainer: Robin Broda <coderobe @ archlinux.org> -pkgname=nebula -pkgver=1.3.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') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('b94fba0251a4a436e25b127d0b9bc0181b991631f1dc8e344b1c8e895b55375d') - -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 936673, nebula/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-19 19:16:52 UTC (rev 936674) @@ -0,0 +1,45 @@ +# Maintainer: Robin Broda <coderobe @ archlinux.org> +pkgname=nebula +pkgver=1.4.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') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('e8d79231f6100a2cd240d6a092d0dcc2bfccadffa83cb40e99b7328f6c75c2ec') + +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 +}