[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Nov 21 18:18:03 UTC 2020
Date: Saturday, November 21, 2020 @ 18:18:03
Author: shibumi
Revision: 758515
archrelease: copy trunk to community-x86_64
Added:
shfmt/repos/community-x86_64/PKGBUILD
(from rev 758514, shfmt/trunk/PKGBUILD)
Deleted:
shfmt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 18:17:55 UTC (rev 758514)
+++ PKGBUILD 2020-11-21 18:18:03 UTC (rev 758515)
@@ -1,35 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Daniel Martí <mvdan at mvdan.cc>
-
-pkgname=shfmt
-pkgver=3.1.2
-pkgrel=1
-pkgdesc="Format shell programs"
-url="https://github.com/mvdan/sh"
-license=('BSD')
-arch=('x86_64')
-makedepends=('git' 'go-pie')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
-sha512sums=('6e367a7a05c5e18d6de7f822ef181443b22d05f94a5fe5a0cf4759bc1e4a07dfac0e2704eb3025868e0f44c0e04a9cbd28dfe5a977381b2ba6fe274ac97ef29a')
-
-build() {
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- cd "${srcdir}/sh-${pkgver}/cmd/shfmt/"
- go build .
-}
-
-check() {
- cd "${srcdir}/sh-${pkgver}/"
- go test ./...
-
-}
-
-package() {
- cd "${srcdir}/sh-${pkgver}/"
- install -Dm755 "cmd/shfmt/shfmt" "${pkgdir}/usr/bin/shfmt"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 758514, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-21 18:18:03 UTC (rev 758515)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Daniel Martí <mvdan at mvdan.cc>
+
+pkgname=shfmt
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Format shell programs"
+url="https://github.com/mvdan/sh"
+license=('BSD')
+arch=('x86_64')
+makedepends=('git' 'go-pie')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
+sha512sums=('2f019fea811a1a8e995b8fb2ae77ea4f52c0ff82f3b049f22730b5aba8f7a580cf046cb93bc779999805edbc6b9b7c1ab81cdc800bc3068be5631dd947849770')
+
+build() {
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ cd "${srcdir}/sh-${pkgver}/cmd/shfmt/"
+ go build .
+}
+
+check() {
+ cd "${srcdir}/sh-${pkgver}/"
+ go test ./...
+
+}
+
+package() {
+ cd "${srcdir}/sh-${pkgver}/"
+ install -Dm755 "cmd/shfmt/shfmt" "${pkgdir}/usr/bin/shfmt"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list