[arch-commits] Commit in ct/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Fri Nov 12 20:17:24 UTC 2021
Date: Friday, November 12, 2021 @ 20:17:23
Author: shibumi
Revision: 1044805
archrelease: copy trunk to community-x86_64
Added:
ct/repos/community-x86_64/PKGBUILD
(from rev 1044804, ct/trunk/PKGBUILD)
Deleted:
ct/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-12 20:17:17 UTC (rev 1044804)
+++ PKGBUILD 2021-11-12 20:17:23 UTC (rev 1044805)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-pkgname=ct
-pkgver=0.9.1
-pkgrel=2
-pkgdesc='config transpiler for Flatcar Container Linux'
-arch=('x86_64' 'aarch64')
-url='https://github.com/flatcar-linux/container-linux-config-transpiler'
-license=('Apache')
-depends=('kubectl')
-makedepends=('git' 'go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flatcar-linux/container-linux-config-transpiler/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('5bbe79d4a17f610289f323732467b1f4afb2bca3b5939de2a4fc848db7873e08aaa4ca5484bade6cf01dcbcaaa64e886dcfbdd8c8fdd4f1c97e50958fc48e254')
-b2sums=('4caa22bbfb894ee203d882c6c99a073e0e3d98ae018293e577a6d1835586eceecb3880756aad3452f569e80027d37d965fe3f05eb956b90259e4ca808e76c9e5')
-
-build() {
- cd "container-linux-config-transpiler-${pkgver}/internal"
- export CGO_LDFLAGS="$LDFLAGS"
- export CGO_CFLAGS="$CFLAGS"
- export CGO_CPPFLAGS="$CPPFLAGS"
- export CGO_CXXFLAGS="$CXXFLAGS"
- export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly'
- go build -ldflags="-w -s -linkmode=external -X github.com/flatcar-linux/container-linux-config-transpiler/internal/version.Raw=${pkgver}" -o ct
-}
-
-check() {
- cd "container-linux-config-transpiler-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "container-linux-config-transpiler-${pkgver}/internal"
- install -Dm755 ct "${pkgdir}/usr/bin/ct"
-}
Copied: ct/repos/community-x86_64/PKGBUILD (from rev 1044804, ct/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-12 20:17:23 UTC (rev 1044805)
@@ -0,0 +1,33 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+pkgname=ct
+pkgver=0.9.2
+pkgrel=1
+pkgdesc='config transpiler for Flatcar Container Linux'
+arch=('x86_64' 'aarch64')
+url='https://github.com/flatcar-linux/container-linux-config-transpiler'
+license=('Apache')
+depends=('kubectl')
+makedepends=('git' 'go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flatcar-linux/container-linux-config-transpiler/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('8c780d47cbd336a68dc1d0734478d192ca7eadb099361e80da64277d00565d5b9a882ab599b12f0379b6daa3f6eb5a08142224c1a4dc91fd01bce576bf29bea6')
+b2sums=('5a1e3fac395533f2854a82ddcd356e66358cf86be69ca4ca0b14056067e05d8d7fc65b75c0332dbb14fc01fecfbbed8f557e1be9c0d99be0548c1d92ab8c5bad')
+
+build() {
+ cd "container-linux-config-transpiler-${pkgver}/internal"
+ export CGO_LDFLAGS="$LDFLAGS"
+ export CGO_CFLAGS="$CFLAGS"
+ export CGO_CPPFLAGS="$CPPFLAGS"
+ export CGO_CXXFLAGS="$CXXFLAGS"
+ export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly'
+ go build -ldflags="-w -s -linkmode=external -X github.com/flatcar-linux/container-linux-config-transpiler/internal/version.Raw=${pkgver}" -o ct
+}
+
+check() {
+ cd "container-linux-config-transpiler-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "container-linux-config-transpiler-${pkgver}/internal"
+ install -Dm755 ct "${pkgdir}/usr/bin/ct"
+}
More information about the arch-commits
mailing list