aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-02-23 06:44:04 -0700
committerAriadne Conill <ariadne@dereferenced.org>2021-02-23 06:44:04 -0700
commit97efb303af95590184d99fdae5547e57c8c16793 (patch)
treef9223fbac53fd869f69d3892b7582004c4727808
parentcb306d507fdebb400fb322b7a6f3907d65e5176d (diff)
downloadaports-97efb303af95590184d99fdae5547e57c8c16793.tar.gz
aports-97efb303af95590184d99fdae5547e57c8c16793.tar.bz2
aports-97efb303af95590184d99fdae5547e57c8c16793.tar.xz
community/go-bindata: upgrade to 3.1.3
-rw-r--r--community/go-bindata/APKBUILD16
-rw-r--r--community/go-bindata/go-remove-runtime.patch17
2 files changed, 4 insertions, 29 deletions
diff --git a/community/go-bindata/APKBUILD b/community/go-bindata/APKBUILD
index 277e5de6d5..65c92d6edf 100644
--- a/community/go-bindata/APKBUILD
+++ b/community/go-bindata/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=go-bindata
-pkgver=20151023
+pkgver=3.1.3
_hash="a0ff2567cfb70903282db057e799fd826784d41d"
pkgrel=3
pkgdesc="A small utility which generates Go code from any file"
@@ -10,15 +10,8 @@ arch="all"
license="CC0-1.0"
makedepends="go"
options="!check" # No test suite
-source="go-bindata-$pkgver.tar.gz::https://github.com/jteeuwen/go-bindata/archive/$_hash.tar.gz
- go-remove-runtime.patch"
-builddir="$srcdir/src/github.com/jteeuwen/$pkgname"
-
-prepare() {
- mkdir -p ${builddir%/*}
- mv "$srcdir"/$pkgname-$_hash "$builddir"/
- default_prepare
-}
+source="go-bindata-$pkgver.tar.gz::https://github.com/go-bindata/go-bindata/archive/v$pkgver.tar.gz"
+builddir="$srcdir/go-bindata-$pkgver"
build() {
cd "$builddir"/$pkgname
@@ -31,5 +24,4 @@ package() {
"$pkgdir"/usr/bin/go-bindata
}
-sha512sums="ed1d2fd1c5a833b6efdc731eb43f72fc072a701c447a926ad6c1f9be3c0f1ed92c689639d02a288230a49d53795f41092deab132389871a5b9f79abdc525fc43 go-bindata-20151023.tar.gz
-0d8b16b3384048e1c1d168b228c293f86a06a50304e49657545770a445496acbca79670441bb14464a306a1efb94bdb371aabb1e58969b45a40fcfbb1870d9dc go-remove-runtime.patch"
+sha512sums="870f939cfb07b43c54000d39fa37e8151ca5c20d13eac9bde59e7ec3e2693d8386a1ea4b5372171dac42f8a4f69a754445cb9a4fa51a7a7ba9ec54f3e8a2a2f6 go-bindata-3.1.3.tar.gz"
diff --git a/community/go-bindata/go-remove-runtime.patch b/community/go-bindata/go-remove-runtime.patch
deleted file mode 100644
index 4cb0349f72..0000000000
--- a/community/go-bindata/go-remove-runtime.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./go-bindata/version.go.orig
-+++ ./go-bindata/version.go
-@@ -6,7 +6,6 @@
-
- import (
- "fmt"
-- "runtime"
- )
-
- const (
-@@ -27,5 +26,5 @@
- }
-
- return fmt.Sprintf("%s %d.%d.%s (Go runtime %s).\nCopyright (c) 2010-2013, Jim Teeuwen.",
-- AppName, AppVersionMajor, AppVersionMinor, AppVersionRev, runtime.Version())
-+ AppName, AppVersionMajor, AppVersionMinor, AppVersionRev, "1.7.0")
- }