[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Dec 20 22:07:24 UTC 2020
Date: Sunday, December 20, 2020 @ 22:07:23
Author: shibumi
Revision: 780799
archrelease: copy trunk to community-x86_64
Added:
shfmt/repos/community-x86_64/PKGBUILD
(from rev 780798, shfmt/trunk/PKGBUILD)
Deleted:
shfmt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-20 22:07:18 UTC (rev 780798)
+++ PKGBUILD 2020-12-20 22:07:23 UTC (rev 780799)
@@ -1,35 +0,0 @@
-# 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"
-}
Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 780798, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-20 22:07:23 UTC (rev 780799)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Daniel Martí <mvdan at mvdan.cc>
+
+pkgname=shfmt
+pkgver=3.2.1
+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=('dcc8d256a3220d4216291c929bc462a910ffb43f28f9e89777138d1df5c40f8d6ba017341f73b955950c4ba3f39da5902459985ad02cdb938b9a9f44ad1c3147')
+
+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 -ldflags=-linkmode=external"
+ 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