Date: Wednesday, December 9, 2020 @ 23:23:01 Author: foxboron Revision: 772959
archrelease: copy trunk to community-x86_64 Added: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 772958, cni-plugins/trunk/PKGBUILD) Deleted: cni-plugins/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-09 23:22:54 UTC (rev 772958) +++ PKGBUILD 2020-12-09 23:23:01 UTC (rev 772959) @@ -1,32 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=cni-plugins -pkgver=0.8.7 -pkgrel=1 -pkgdesc='Some standard networking plugins, maintained by the CNI team' -arch=(x86_64) -url="https://github.com/containernetworking/plugins" -license=(Apache) -depends=(glibc) -makedepends=(go) -source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz) -sha512sums=('1b11b080b1f54a8a792b1048573d7d882603b76929f0c9343eeb2e010f97700c0deea4489faeb493a1aeac12557b6847b26784c378d0430c47de6bdaca6aa70f') - -build() { - cd plugins-$pkgver - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - ./build_linux.sh -} - -package() { - cd plugins-$pkgver/bin - for bin in *; do - install -Dm755 $bin "$pkgdir/usr/lib/cni/$bin" - done - install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 772958, cni-plugins/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-09 23:23:01 UTC (rev 772959) @@ -0,0 +1,32 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=cni-plugins +pkgver=0.9.0 +pkgrel=1 +pkgdesc='Some standard networking plugins, maintained by the CNI team' +arch=(x86_64) +url="https://github.com/containernetworking/plugins" +license=(Apache) +depends=(glibc) +makedepends=(go) +source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz) +sha512sums=('8d545d17e6bf4180755708e47607c855b99f6ea4183a33930b7d05974d2151c90873f1e2064b806059a26caba6942502d9954fce697bf000995d539c2208811c') + +build() { + cd plugins-$pkgver + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + ./build_linux.sh +} + +package() { + cd plugins-$pkgver/bin + for bin in *; do + install -Dm755 $bin "$pkgdir/usr/lib/cni/$bin" + done + install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}