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

Christian Rebischke shibumi at gemini.archlinux.org
Sat Jun 11 17:15:36 UTC 2022


    Date: Saturday, June 11, 2022 @ 17:15:35
  Author: shibumi
Revision: 1233941

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-11 17:14:06 UTC (rev 1233940)
+++ PKGBUILD	2022-06-11 17:15:35 UTC (rev 1233941)
@@ -1,41 +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.3
-pkgrel=1
-pkgdesc="Format shell programs"
-url="https://github.com/mvdan/sh"
-license=('BSD')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('git' 'go' 'scdoc')
-options=('!lto')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
-sha512sums=('1f7c3fae0ca7e1ecb501eb181f2a0f23314aac8663517c9ab0724ba2b6d2b2c92a44a250fa9d754f915785b09ddfd6e4e474a5ec91d5d438c1e104b1bfc36309')
-
-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 1233940, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-11 17:15:35 UTC (rev 1233941)
@@ -0,0 +1,41 @@
+# 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.5.1
+pkgrel=1
+pkgdesc="Format shell programs"
+url="https://github.com/mvdan/sh"
+license=('BSD')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('git' 'go' 'scdoc')
+options=('!lto')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/sh/archive/v${pkgver}.tar.gz")
+sha512sums=('fd1084921254b70376b3ac47b97e2108308252fa6bd23aff1e59aaefb45a7e01c1738a46ae6f4eb255ecade77fb9659fbc8184d2473e8e4f70e520757bad506d')
+
+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