Package Details: go-bindata-git 3.0.7.r72.ga0ff256-2

Git Clone URL: https://aur.archlinux.org/go-bindata-git.git (read-only)
Package Base: go-bindata-git
Description: Converts any file into managable Go source code - git checkout
Upstream URL: https://github.com/jteeuwen/go-bindata/
Licenses: CC0-1.0
Conflicts: go-bindata
Provides: go-bindata-git
Submitter: Mineko
Maintainer: jonathanio
Last Packager: jonathanio
Votes: 6
Popularity: 0.000078
First Submitted: 2014-06-02 14:46
Last Updated: 2017-11-12 19:33

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

atriix commented on 2018-03-10 21:54

I would propose going with https://github.com/kevinburke/go-bindata/ which is what bazel did https://github.com/bazelbuild/rules_go/issues/1307. Meanwhile go-bindata-new-git uses https://github.com/kevinburke/go-bindata/ as source if any one want to use that before go-bindata-git changes.

jonathanio commented on 2017-11-12 19:34

I've added the option to !strip the build.

It looks like now that upstream is dead, momentum is being built behind https://github.com/shuLhan/go-bindata as the alternative. Does anyone have any objection to re-aligning this package against this repository?

boosterdev commented on 2017-04-14 20:31

can you add "options=('!strip')"

Synthead commented on 2016-11-30 00:09

I get:

==> ERROR: Integrity checks (sha256) differ in size from the source array.

Please remove this line from the PKGBUILD:

sha256sums=(SKIP)

dobegor commented on 2016-11-09 10:50

Please update or change the maintainer.

moscar commented on 2016-09-29 22:46

Here's an updated PKGBUILD:

# Maintainer: Mineko <minekorox@gmail.com>

_pkgname=go-bindata
pkgname=${_pkgname}-git
pkgver=v3.0.7.r72.ga0ff256
pkgrel=1
pkgdesc="Converts any file into managable Go source code - git checkout"
arch=('x86_64')
url="http://github.com/jteeuwen/go-bindata/"
license=('CC0-1.0')
makedepends=('git' 'go')
provides=('go-bindata')
conflicts=('go-bindata')
source=("git+https://github.com/jteeuwen/${_pkgname}.git")
sha256sums=('SKIP')

pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
# setup local gopath
mkdir -p $srcdir/src/github.com/jteeuwen
ln -s $srcdir/$_pkgname $srcdir/src/github.com/jteeuwen/$_pkgname
}

build() {
cd $srcdir/src/github.com/jteeuwen/$_pkgname/$_pkgname
GOPATH="$srcdir" go build
}

package() {
cd "$srcdir/$_pkgname"

install -Dm755 $_pkgname/$_pkgname $pkgdir/usr/bin/$_pkgname
}

# vim:set ts=2 sw=2 ft=sh et:

thelinuxguy commented on 2016-09-29 11:32

Could you remove the shasums array? If you don't have any source files, you can't define it.

kenny_r commented on 2015-02-11 10:40

Had to change sha256sums=(SKIP) to sha256sums=() to get this to build.