* update cbindgen to 0.28.0-1

This commit is contained in:
Alexander Baldeck 2025-02-10 08:12:26 +01:00
parent e578aa97ea
commit 41b85bc2e7
3 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
pkgbase = cbindgen
pkgdesc = A tool for generating C bindings to Rust code
pkgver = 0.27.0
pkgver = 0.28.0
pkgrel = 1
url = https://github.com/mozilla/cbindgen
arch = x86_64
@ -16,7 +16,8 @@ pkgbase = cbindgen
makedepends = git
depends = gcc-libs
depends = glibc
source = git+https://github.com/mozilla/cbindgen#tag=v0.27.0
b2sums = 76b445f7f9729107a04451433d047f50b5ac52c7dc501685f00d0558dab82e2bc09d23a8b5c33ea231e1a2fae81533ba8e64d21a43d524b6dd0de170114c6ea5
options = !lto
source = git+https://github.com/mozilla/cbindgen#tag=0.28.0
b2sums = 8c93d193e8a40936e8bb5f72329477f8cff3fc62809441de669cffecf030fad32c6bf72858a609576759aeb06c9c26eb81c35a9438c089d063d9ca4145d60e82
pkgname = cbindgen

View File

@ -1,5 +1,4 @@
[cbindgen]
source = "github"
github = "eqrion/cbindgen"
github = "mozilla/cbindgen"
use_max_tag = true
prefix = "v"

View File

@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=cbindgen
pkgver=0.27.0
pkgver=0.28.0
pkgrel=1
pkgdesc="A tool for generating C bindings to Rust code"
url="https://github.com/mozilla/cbindgen"
@ -21,8 +21,9 @@ checkdepends=(
cython
python
)
source=("git+$url#tag=v$pkgver")
b2sums=('76b445f7f9729107a04451433d047f50b5ac52c7dc501685f00d0558dab82e2bc09d23a8b5c33ea231e1a2fae81533ba8e64d21a43d524b6dd0de170114c6ea5')
options=(!lto)
source=("git+$url#tag=$pkgver")
b2sums=('8c93d193e8a40936e8bb5f72329477f8cff3fc62809441de669cffecf030fad32c6bf72858a609576759aeb06c9c26eb81c35a9438c089d063d9ca4145d60e82')
prepare() {
cd cbindgen
@ -38,7 +39,7 @@ build() {
# Use LTO
export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
cargo build --release --frozen --all-targets
cargo build --release --frozen
}
check() {
@ -54,4 +55,4 @@ package() {
{README,docs,internals}.md
}
# vim:set sw=2 sts=-1 et
# vim:set sw=2 sts=-1 et: