diff options
author | bkfox | 2017-05-12 16:58:13 +0200 |
---|---|---|
committer | bkfox | 2017-05-12 16:58:13 +0200 |
commit | fb6f48878972f5e670d075ce17040c3a05990b11 (patch) | |
tree | 75ba3120cf865d5374bef61fe9296d0fc961cc41 | |
parent | 6ba736aec60f726323953facdbaafed25d86d687 (diff) | |
download | aur-fb6f48878972f5e670d075ce17040c3a05990b11.tar.gz |
update to rust-bindgen 0.25.0 + switch to servo's repository
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 20 insertions, 4 deletions
@@ -12,3 +12,18 @@ pkgbase = rust-bindgen-git pkgname = rust-bindgen-git +pkgbase = rust-bindgen-git + pkgdesc = Binding generator for rust language + pkgver = 0.25.0.18b7e62 + pkgrel = 1 + url = https://github.com/servo/rust-bindgen + arch = i686 + arch = x86_64 + license = BSD + makedepends = rust + depends = clang>=4.0.0 + source = git://github.com/servo/rust-bindgen.git + sha512sums = SKIP + +pkgname = rust-bindgen-git + @@ -3,19 +3,20 @@ # Contributor: ask pkgname=rust-bindgen-git -pkgver=0.14.0.ba150d9 +pkgver=0.25.0.18b7e62 pkgrel=1 pkgdesc="Binding generator for rust language" arch=('i686' 'x86_64') -url="https://github.com/crabtw/rust-bindgen" +url="https://github.com/servo/rust-bindgen" license=('BSD') makedepends=('rust') -source=('git://github.com/crabtw/rust-bindgen.git') +depends=('clang>=4.0.0') +source=('git://github.com/servo/rust-bindgen.git') sha512sums=('SKIP') pkgver() { cd "$srcdir/rust-bindgen" - printf "%s.%s" "$(grep version Cargo.toml | cut -c12-17)" "$(git log --pretty=format:%h --abbrev-commit -n1)" + printf "%s.%s" "`grep version Cargo.toml | sed "s/version\ = \"\([^\"]\+\)\"/\1/"`" "$(git log --pretty=format:%h --abbrev-commit -n1)" } build() { |