[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2022-06-11 17:14:06 UTC (rev 1233940) +++ PKGBUILD2022-06-11 17:15:35 UTC (rev 1233941) @@ -1,41 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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) +++ PKGBUILD2022-06-11 17:15:35 UTC (rev 1233941) @@ -0,0 +1,41 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, May 22, 2022 @ 00:44:35 Author: shibumi Revision: 1209917 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 1209916, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 82 ++--- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-05-22 00:44:26 UTC (rev 1209916) +++ PKGBUILD2022-05-22 00:44:35 UTC (rev 1209917) @@ -1,41 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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 1209916, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-05-22 00:44:35 UTC (rev 1209917) @@ -0,0 +1,41 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +pkgname=shfmt +pkgver=3.5.0 +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=('9071a015369088dbba8eb7221305893095ebeaa72124e1ca964b7b1e6f34dedc9d11f2daa2f679d24637b04925cbf58427a24cc4885d8e918cb81844e71d3c6b') + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2021-11-29 00:43:56 UTC (rev 1056010) +++ PKGBUILD2021-11-29 00:44:02 UTC (rev 1056011) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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) +++ PKGBUILD2021-11-29 00:44:02 UTC (rev 1056011) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, October 2, 2021 @ 01:21:00 Author: maximbaz Revision: 1026674 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 1026673, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-02 01:20:56 UTC (rev 1026673) +++ PKGBUILD2021-10-02 01:21:00 UTC (rev 1026674) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -pkgname=shfmt -pkgver=3.4.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=('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" - -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 1026673, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-02 01:21:00 UTC (rev 1026674) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, October 1, 2021 @ 22:35:40 Author: maximbaz Revision: 1026657 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 1026656, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-01 22:35:37 UTC (rev 1026656) +++ PKGBUILD2021-10-01 22:35:40 UTC (rev 1026657) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -pkgname=shfmt -pkgver=3.3.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=('f3640275577b3c7ab2130efe54435fd4ae6f1c8e59d516d09575f3692f4489572600f4a0671914bcc14d2f66f9849f312b586d4ec97618ca2c5bfec9ab278ee1') - -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 1026656, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-01 22:35:40 UTC (rev 1026657) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +pkgname=shfmt +pkgver=3.4.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=('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" + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Tuesday, August 3, 2021 @ 09:29:04 Author: maximbaz Revision: 993506 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 993505, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-08-03 09:29:01 UTC (rev 993505) +++ PKGBUILD2021-08-03 09:29:04 UTC (rev 993506) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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 -} Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 993505, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-08-03 09:29:04 UTC (rev 993506) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +pkgname=shfmt +pkgver=3.3.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=('f3640275577b3c7ab2130efe54435fd4ae6f1c8e59d516d09575f3692f4489572600f4a0671914bcc14d2f66f9849f312b586d4ec97618ca2c5bfec9ab278ee1') + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2021-05-17 14:55:05 UTC (rev 936017) +++ PKGBUILD2021-05-17 14:55:09 UTC (rev 936018) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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) +++ PKGBUILD2021-05-17 14:55:09 UTC (rev 936018) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, March 8, 2021 @ 17:35:51 Author: maximbaz Revision: 886932 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 886931, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-03-08 17:35:28 UTC (rev 886931) +++ PKGBUILD2021-03-08 17:35:51 UTC (rev 886932) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -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 886931, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-03-08 17:35:51 UTC (rev 886932) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, March 8, 2021 @ 17:35:28 Author: maximbaz Revision: 886931 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 886930, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-03-08 17:35:24 UTC (rev 886930) +++ PKGBUILD2021-03-08 17:35:28 UTC (rev 886931) @@ -1,40 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -pkgname=shfmt -pkgver=3.2.2 -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=('a5f0c49433563ed375d3b6b4c41e3ec7bd896730a2bf9b513a3b2c122c39c2cb11f7c80fb04b52aae24e72d23d7c3704e3cf4d32a48d276c6d944377407552c5') - -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 886930, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-03-08 17:35:28 UTC (rev 886931) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, February 22, 2021 @ 19:37:01 Author: maximbaz Revision: 868881 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 868880, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 79 ++--- 1 file changed, 40 insertions(+), 39 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-02-22 19:36:58 UTC (rev 868880) +++ PKGBUILD2021-02-22 19:37:01 UTC (rev 868881) @@ -1,39 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Daniel Martí - -pkgname=shfmt -pkgver=3.2.2 -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=('a5f0c49433563ed375d3b6b4c41e3ec7bd896730a2bf9b513a3b2c122c39c2cb11f7c80fb04b52aae24e72d23d7c3704e3cf4d32a48d276c6d944377407552c5') - -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 . - -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 868880, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-02-22 19:37:01 UTC (rev 868881) @@ -0,0 +1,40 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +pkgname=shfmt +pkgver=3.2.2 +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=('a5f0c49433563ed375d3b6b4c41e3ec7bd896730a2bf9b513a3b2c122c39c2cb11f7c80fb04b52aae24e72d23d7c3704e3cf4d32a48d276c6d944377407552c5') + +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 +}
[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, February 19, 2021 @ 16:02:12 Author: maximbaz Revision: 865946 archrelease: copy trunk to community-x86_64 Added: shfmt/repos/community-x86_64/PKGBUILD (from rev 865945, shfmt/trunk/PKGBUILD) Deleted: shfmt/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 74 - 1 file changed, 39 insertions(+), 35 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-02-19 16:02:04 UTC (rev 865945) +++ PKGBUILD2021-02-19 16:02:12 UTC (rev 865946) @@ -1,35 +0,0 @@ -# Maintainer: Christian Rebischke -# Contributor: Daniel Martí - -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" -} Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 865945, shfmt/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-02-19 16:02:12 UTC (rev 865946) @@ -0,0 +1,39 @@ +# Maintainer: Christian Rebischke +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Daniel Martí + +pkgname=shfmt +pkgver=3.2.2 +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=('a5f0c49433563ed375d3b6b4c41e3ec7bd896730a2bf9b513a3b2c122c39c2cb11f7c80fb04b52aae24e72d23d7c3704e3cf4d32a48d276c6d944377407552c5') + +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 . + +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 +}