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

Maxim Baz maximbaz at archlinux.org
Mon May 17 14:55:09 UTC 2021


    Date: Monday, May 17, 2021 @ 14:55:09
  Author: maximbaz
Revision: 936018

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-17 14:55:05 UTC (rev 936017)
+++ PKGBUILD	2021-05-17 14:55:09 UTC (rev 936018)
@@ -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.2.4
-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=('d88b4d734b84c160094f64238ef7dd3ff86ad0a49c53492b180930cc0f8b652d99b6eb6e0652b50b3a97f364b653febf66129ad815435460ff94f13d404dd3a8')
-
-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 -mod=readonly -modcacherw"
-    go build -ldflags "-linkmode=external -extldflags=$LDFLAGS"
-
-    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 936017, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-17 14:55:09 UTC (rev 936018)
@@ -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.3.0
+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=('0dd94c931fce628daf21064147900cf30b95b1e5195866b3efccb9686a4a7fb0138b78be7fa9db2fa9a49440c79f6b13b690004cc41c5d8850fb26c0ef86bf05')
+
+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 -mod=readonly -modcacherw"
+    go build -ldflags "-linkmode=external -extldflags=$LDFLAGS"
+
+    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