summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Martí2016-10-26 11:26:15 +0100
committerDaniel Martí2016-10-26 11:26:15 +0100
commit0d5b026c43b6d048d69ac3ee06eb2971ea7a6e70 (patch)
treee28c94770c3ce211e97de6ed5605ab70a871a4c2
parenta78a88c7dff3976de249edbe3a2817e013a26fed (diff)
downloadaur-0d5b026c43b6d048d69ac3ee06eb2971ea7a6e70.tar.gz
Update to 0.3.0, strip binary
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b48a02af2a08..e18ad2d9c525 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Oct 15 20:35:54 UTC 2016
+# Wed Oct 26 10:25:52 UTC 2016
pkgbase = shfmt
pkgdesc = Format shell programs
- pkgver = 0.2.0
+ pkgver = 0.3.0
pkgrel = 1
url = https://github.com/mvdan/sh
arch = i686
@@ -11,7 +11,7 @@ pkgbase = shfmt
makedepends = git
makedepends = go
options = !strip
- source = git+https://github.com/mvdan/sh#tag=v0.2.0
+ source = git+https://github.com/mvdan/sh#tag=v0.3.0
sha1sums = SKIP
pkgname = shfmt
diff --git a/PKGBUILD b/PKGBUILD
index 4005748a7984..2e1cb37ed103 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=shfmt
_pkg=sh
_name="${pkgname}"
-pkgver=0.2.0
+pkgver=0.3.0
pkgrel=1
pkgdesc="Format shell programs"
url="https://github.com/mvdan/${_pkg}"
@@ -22,7 +22,7 @@ prepare() {
build() {
cd "${srcdir}/src/github.com/mvdan/${_pkg}/cmd/${_name}"
- GOPATH="${srcdir}" go build
+ GOPATH="${srcdir}" go build -ldflags='-s -w'
}
package() {