[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Jan 20 13:54:09 UTC 2019
Date: Sunday, January 20, 2019 @ 13:54:08
Author: shibumi
Revision: 425208
archrelease: copy trunk to community-x86_64
Added:
shfmt/repos/community-x86_64/PKGBUILD
(from rev 425207, shfmt/trunk/PKGBUILD)
Deleted:
shfmt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-20 13:54:00 UTC (rev 425207)
+++ PKGBUILD 2019-01-20 13:54:08 UTC (rev 425208)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Daniel Martí <mvdan at mvdan.cc>
-
-pkgname=shfmt
-_pkg=sh
-_name="${pkgname}"
-pkgver=2.6.2
-pkgrel=1
-pkgdesc="Format shell programs"
-url="https://github.com/mvdan/${_pkg}"
-license=('BSD')
-arch=('x86_64')
-makedepends=('git' 'go-pie')
-_sh_commit=7434b626f1731a87d421bdc72082f6dfbba33edc
-source=("git+${url}#commit=${_sh_commit}")
-sha512sums=('SKIP')
-
-prepare() {
- cd "${srcdir}"
- mkdir -p "src/mvdan.cc"
- mv "${_pkg}" "src/mvdan.cc/${_pkg}"
-}
-
-build() {
- cd "${srcdir}/src/mvdan.cc/${_pkg}/cmd/${_name}"
- GOPATH="${srcdir}" go build -ldflags='-s -w'
-}
-
-package() {
- cd "${srcdir}/src/mvdan.cc/${_pkg}"
- install -Dm755 "cmd/${_name}/${_name}" "${pkgdir}/usr/bin/${_name}"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: shfmt/repos/community-x86_64/PKGBUILD (from rev 425207, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-20 13:54:08 UTC (rev 425208)
@@ -0,0 +1,33 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Daniel Martí <mvdan at mvdan.cc>
+
+pkgname=shfmt
+_pkg=sh
+_name="${pkgname}"
+pkgver=2.6.3
+pkgrel=1
+pkgdesc="Format shell programs"
+url="https://github.com/mvdan/${_pkg}"
+license=('BSD')
+arch=('x86_64')
+makedepends=('git' 'go-pie')
+_sh_commit='fcaf7bfab30a9518c3d36e256311cc3862632ff9'
+source=("git+${url}#commit=${_sh_commit}")
+sha512sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}"
+ mkdir -p "src/mvdan.cc"
+ mv "${_pkg}" "src/mvdan.cc/${_pkg}"
+}
+
+build() {
+ cd "${srcdir}/src/mvdan.cc/${_pkg}/cmd/${_name}"
+ GOPATH="${srcdir}" go build -ldflags='-s -w'
+}
+
+package() {
+ cd "${srcdir}/src/mvdan.cc/${_pkg}"
+ install -Dm755 "cmd/${_name}/${_name}" "${pkgdir}/usr/bin/${_name}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list