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

Christian Rebischke shibumi at gemini.archlinux.org
Mon Nov 29 00:44:02 UTC 2021


    Date: Monday, November 29, 2021 @ 00:44:02
  Author: shibumi
Revision: 1056011

archrelease: copy trunk to community-x86_64

Added:
  shfmt/repos/community-x86_64/PKGBUILD
    (from rev 1056010, shfmt/trunk/PKGBUILD)
Deleted:
  shfmt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 00:43:56 UTC (rev 1056010)
+++ PKGBUILD	2021-11-29 00:44:02 UTC (rev 1056011)
@@ -1,40 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Daniel Martí <mvdan at mvdan.cc>
-
-pkgname=shfmt
-pkgver=3.4.0
-pkgrel=2
-pkgdesc="Format shell programs"
-url="https://github.com/mvdan/sh"
-license=('BSD')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('git' 'go' 'scdoc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
-sha512sums=('3c8489263db5aee9774fd97158e011150246e8d4700820027564d4a13c63090f9872877be90b25ae3da3c078ea7c2030afb24d6565723288d866d411812073ab')
-
-build() {
-    cd "${srcdir}/sh-${pkgver}/cmd/shfmt/"
-
-    export CGO_CPPFLAGS="${CPPFLAGS}"
-    export CGO_CFLAGS="${CFLAGS}"
-    export CGO_CXXFLAGS="${CXXFLAGS}"
-    export CGO_LDFLAGS="${LDFLAGS}"
-    export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-    go build -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=${pkgver}"
-
-    scdoc < "${pkgname}.1.scd" | gzip > "${pkgname}.1.gz"
-}
-
-check() {
-    cd "${srcdir}/sh-${pkgver}/"
-    go test ./...
-}
-
-package() {
-    cd "${srcdir}/sh-${pkgver}/"
-    install -Dm755 -t "${pkgdir}/usr/bin/" "cmd/${pkgname}/${pkgname}"
-    install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "cmd/${pkgname}/${pkgname}.1.gz"
-    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
-}

Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 1056010, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 00:44:02 UTC (rev 1056011)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Daniel Martí <mvdan at mvdan.cc>
+
+pkgname=shfmt
+pkgver=3.4.1
+pkgrel=1
+pkgdesc="Format shell programs"
+url="https://github.com/mvdan/sh"
+license=('BSD')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('git' 'go' 'scdoc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
+sha512sums=('2ee1c79894a052ef5ffa306b673f1119e826790e870d74f214bfbcddb4e88f105bba4ea57df220f7a4a71ccc7e41d7e07c90434dab7c0015a135b2462a86652f')
+
+build() {
+    cd "${srcdir}/sh-${pkgver}/cmd/shfmt/"
+
+    export CGO_CPPFLAGS="${CPPFLAGS}"
+    export CGO_CFLAGS="${CFLAGS}"
+    export CGO_CXXFLAGS="${CXXFLAGS}"
+    export CGO_LDFLAGS="${LDFLAGS}"
+    export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+    go build -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=${pkgver}"
+
+    scdoc < "${pkgname}.1.scd" | gzip > "${pkgname}.1.gz"
+}
+
+check() {
+    cd "${srcdir}/sh-${pkgver}/"
+    go test ./...
+}
+
+package() {
+    cd "${srcdir}/sh-${pkgver}/"
+    install -Dm755 -t "${pkgdir}/usr/bin/" "cmd/${pkgname}/${pkgname}"
+    install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "cmd/${pkgname}/${pkgname}.1.gz"
+    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}



More information about the arch-commits mailing list