[arch-commits] Commit in shfmt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Aug 16 04:52:38 UTC 2019
Date: Friday, August 16, 2019 @ 04:52:38
Author: felixonmars
Revision: 499693
archrelease: copy trunk to community-x86_64
Added:
shfmt/repos/community-x86_64/PKGBUILD
(from rev 499692, shfmt/trunk/PKGBUILD)
Deleted:
shfmt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-16 04:52:28 UTC (rev 499692)
+++ PKGBUILD 2019-08-16 04:52:38 UTC (rev 499693)
@@ -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.4
-pkgrel=1
-pkgdesc="Format shell programs"
-url="https://github.com/mvdan/${_pkg}"
-license=('BSD')
-arch=('x86_64')
-makedepends=('git' 'go-pie')
-_sh_commit='6ae84988520ab9ea8ad7b2cc327f2261a30e7abf'
-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 499692, shfmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-16 04:52:38 UTC (rev 499693)
@@ -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.4
+pkgrel=2
+pkgdesc="Format shell programs"
+url="https://github.com/mvdan/${_pkg}"
+license=('BSD')
+arch=('x86_64')
+makedepends=('git' 'go-pie')
+_sh_commit='6ae84988520ab9ea8ad7b2cc327f2261a30e7abf'
+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