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

George Rawlinson grawlinson at gemini.archlinux.org
Wed Oct 6 23:46:04 UTC 2021


    Date: Wednesday, October 6, 2021 @ 23:46:04
  Author: grawlinson
Revision: 1027903

archrelease: copy trunk to community-x86_64

Added:
  lego/repos/community-x86_64/PKGBUILD
    (from rev 1027902, lego/trunk/PKGBUILD)
Deleted:
  lego/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-06 23:45:25 UTC (rev 1027902)
+++ PKGBUILD	2021-10-06 23:46:04 UTC (rev 1027903)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson <george at rawlinson.net.nz>
-# Contributor: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
-
-pkgname=lego
-pkgver=4.5.2
-pkgrel=1
-pkgdesc='Lets Encrypt client and ACME library'
-url='https://go-acme.github.io/lego'
-arch=('x86_64')
-license=('MIT')
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/go-acme/lego/archive/v$pkgver.tar.gz")
-sha512sums=('3c548f2c672e35c8ef5ad6b725720aa95308d99b92ce37ee597843d757fd4610617aa1a3b5663e5f14ba222b673f73a48bc14e046b479c293211d87d49d80596')
-b2sums=('eb07cefeaf2163fbb58da4253ca5dcfe8a8d588dffee5f55b4f9057820000d9a597c5fc282f4d6764ff5de50a1dda47beda0db53b0540a54109bc5aa0fd9f6da')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod vendor
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags $LDFLAGS -X main.version=v${pkgver}" \
-    -o build \
-    ./cmd/...
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" build/lego
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: lego/repos/community-x86_64/PKGBUILD (from rev 1027902, lego/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-06 23:46:04 UTC (rev 1027903)
@@ -0,0 +1,53 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+# Contributor: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
+
+pkgname=lego
+pkgver=4.5.3
+pkgrel=1
+pkgdesc='Lets Encrypt client and ACME library'
+url='https://go-acme.github.io/lego'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/go-acme/lego/archive/v$pkgver.tar.gz")
+sha512sums=('0de7a9078254a735a7802fb389673bfc4333a048a0d2211a0f76f4469a113ffcd6b0b63e574bdeb3f05c3140a310ce263a75d6ced71597f7b962518d8a762227')
+b2sums=('fe4b726f7fc384c7216bffbe2f39afcccfde2946b8a7c1291ab746bc0769a2829ab633c389e716fea203a2ce2e408bca8f61eb2352e01e2c5d46949a3f2c185b')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod vendor
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=vendor \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags $LDFLAGS -X main.version=v${pkgver}" \
+    -o build \
+    ./cmd/...
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/lego
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



More information about the arch-commits mailing list