Package Details: rust-bindgen-git

Git Clone URL: (read-only, click to copy)
Package Base: rust-bindgen-git
Description: Binding generator for rust language
Upstream URL:
Licenses: BSD
Submitter: passcod
Maintainer: bkfox
Last Packager: bkfox
Votes: 3
Popularity: 0.000000
First Submitted: 2014-10-18 07:59
Last Updated: 2020-03-22 18:31

Latest Comments

ljrk commented on 2018-05-02 13:42

pkgver() generates a short commit-hash with 8 digits for me at least (af54e58a) thus always thinking this package is out-of-date. One could force set the digits with --abbrev=7 to make this behavior more consistent. I'm not entirely sure why it's 8 digits for me since this happens only with this package but core.abbrev is not set.

Also it shouldn't be needed to specify --abbrev-commit since format=%h already means it should only print the abbreviated commit. Additionally in VCS package guidelines they usually prefix the commit with a g for some reason, one could adopt this, resulting in

version=$(grep version Cargo.toml -h --color=never | head -n 1 | sed "s/version = \"([^\n]+)\"/\1/") printf %s.%s "$version" "$(git rev-parse --short=7 HEAD)"

Stebalien commented on 2015-11-18 16:33

Should depend on clang.

kralyk commented on 2015-06-02 19:44

@gsingh93 It's not a bug. This is a -git package.

gsingh93 commented on 2015-05-28 14:41

I flagged this as out of date because the github version says 0.14 and this says 0.13. It might just be a PKGBUILD bug, but I thought you should take a look anyway.

passcod commented on 2015-01-10 23:08

I don't use this anymore. Orphaning.

gsingh93 commented on 2015-01-02 09:15

I think you need to update the PKGBUILD with @ask's changes.

Anonymous comment on 2014-11-20 21:25

In this packages, the lines to copy the library are missing:
lib=$(cd target; ls libbindgen*.so)
install -D target/$lib "$pkgdir/usr/lib/$lib"