File tree Expand file tree Collapse file tree 4 files changed +71
-0
lines changed
Expand file tree Collapse file tree 4 files changed +71
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ btrfs-du-bin
5353cachyos-ananicy-rules-git
5454cantata
5555caprine-deb
56+ cbindgen
5657celeste-bin
5758cheat
5859chezmoi-deb
Original file line number Diff line number Diff line change 1+ pkgbase = cbindgen
2+ pkgver = 0.27.0
3+ pkgdesc = A tool for generating C bindings to Rust code
4+ url = https://github.com/mozilla/cbindgen
5+ arch = amd64
6+ arch = arm64
7+ depends = libglib2.0-dev
8+ makedepends = libglib2.0-dev
9+ makedepends = git
10+ pacdeps = rust-bin
11+ license = MPL-2.0
12+ maintainer = xdavius <xdavius@github.com>
13+ repology = project: cbindgen
14+ source = git+https://github.com/mozilla/cbindgen#tag=v0.27.0
15+ b2sums = 76b445f7f9729107a04451433d047f50b5ac52c7dc501685f00d0558dab82e2bc09d23a8b5c33ea231e1a2fae81533ba8e64d21a43d524b6dd0de170114c6ea5
16+
17+ pkgname = cbindgen
Original file line number Diff line number Diff line change 1+ pkgname="cbindgen"
2+ pkgver="0.27.0"
3+ pkgdesc="A tool for generating C bindings to Rust code"
4+ url='https://github.com/mozilla/cbindgen'
5+ repology=("project: ${pkgname}")
6+ maintainer=("xdavius <xdavius@github.com>")
7+ arch=("amd64" "arm64")
8+ license=("MPL-2.0")
9+ depends=("libglib2.0-dev")
10+ makedepends=("libglib2.0-dev" "git")
11+ pacdeps=("rust-bin")
12+ source=("git+https://github.com/mozilla/cbindgen#tag=v${pkgver}")
13+ b2sums=('76b445f7f9729107a04451433d047f50b5ac52c7dc501685f00d0558dab82e2bc09d23a8b5c33ea231e1a2fae81533ba8e64d21a43d524b6dd0de170114c6ea5')
14+ external_connection="true"
15+
16+ prepare() {
17+ cd cbindgen
18+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
19+ }
20+
21+ build() {
22+ cd cbindgen
23+
24+ CARGO_PROFILE_RELEASE_DEBUG=2 \
25+ CARGO_PROFILE_RELEASE_LTO=true \
26+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 \
27+ cargo build --release
28+ }
29+
30+ package() {
31+ cd cbindgen
32+ install -Dt "${pkgdir}/usr/bin" target/release/cbindgen
33+ install -Dt "${pkgdir}/usr/share/doc/${pkgname}" -m644 CHANGES \
34+ {README,docs,internals}.md
35+ }
Original file line number Diff line number Diff line change @@ -1189,6 +1189,24 @@ pkgbase = caprine-deb
11891189
11901190pkgname = caprine-deb
11911191---
1192+ pkgbase = cbindgen
1193+ pkgver = 0.27.0
1194+ pkgdesc = A tool for generating C bindings to Rust code
1195+ url = https://github.com/mozilla/cbindgen
1196+ arch = amd64
1197+ arch = arm64
1198+ depends = libglib2.0-dev
1199+ makedepends = libglib2.0-dev
1200+ makedepends = git
1201+ pacdeps = rust-bin
1202+ license = MPL-2.0
1203+ maintainer = xdavius <xdavius@github.com>
1204+ repology = project: cbindgen
1205+ source = git+https://github.com/mozilla/cbindgen#tag=v0.27.0
1206+ b2sums = 76b445f7f9729107a04451433d047f50b5ac52c7dc501685f00d0558dab82e2bc09d23a8b5c33ea231e1a2fae81533ba8e64d21a43d524b6dd0de170114c6ea5
1207+
1208+ pkgname = cbindgen
1209+ ---
11921210pkgbase = celeste-bin
11931211 gives = celeste
11941212 pkgver = 0.8.0
You can’t perform that action at this time.
0 commit comments