Compare commits

...

9 commits

9 changed files with 30 additions and 15 deletions

3
.gitmodules vendored
View file

@ -529,6 +529,9 @@
[submodule "snappymail"] [submodule "snappymail"]
path = snappymail path = snappymail
url = ssh://aur@aur.archlinux.org/snappymail.git url = ssh://aur@aur.archlinux.org/snappymail.git
[submodule "sonic"]
path = sonic
url = ssh://aur@aur.archlinux.org/sonic.git
[submodule "sqlboiler"] [submodule "sqlboiler"]
path = sqlboiler path = sqlboiler
url = ssh://aur@aur.archlinux.org/sqlboiler.git url = ssh://aur@aur.archlinux.org/sqlboiler.git

View file

@ -121,6 +121,12 @@ exclude_regex = "^.*(alpha|beta|rc).*$"
# github # github
[sonic]
source = "github"
github = "valeriansaliou/sonic"
use_max_tag = true
prefix = "v"
[hck] [hck]
source = "github" source = "github"
github = "sstadick/hck" github = "sstadick/hck"

View file

@ -1,38 +1,43 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org> # Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cargo-geiger pkgname=cargo-geiger
pkgver=0.11.1 pkgver=0.11.2
pkgrel=1 pkgrel=1
pkgdesc="Detects usage of unsafe Rust in a Rust crate and its dependencies" pkgdesc="Detects usage of unsafe Rust in a Rust crate and its dependencies"
arch=('x86_64') arch=('x86_64')
url="https://github.com/rust-secure-code/cargo-geiger" url="https://github.com/rust-secure-code/cargo-geiger"
license=('Apache' 'MIT') license=('Apache' 'MIT')
depends=('curl') depends=('curl')
makedepends=('rust') makedepends=('git' 'rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgname-$pkgver.tar.gz") options=('!lto')
b2sums=('01117f80b72de3cf145bb549cd6a5775b99c3ef37aad4972aa842d03decd68a7bd7ed1a32358070fb6836d64da1fe011a232c7ba46c91f0dbf7b0847681ebb97') _commit='33f939738299c8da9247e60adab8a008da145b88'
source=("$pkgname::git+$url.git#commit=$_commit")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed "s/(cargo-geiger-serde\|cargo-geiger\|geiger)//;s/-//"
}
prepare() { prepare() {
# remove redundant pkgname cd "$pkgname"
mv "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
# download dependencies # download dependencies
cd "$pkgname-$pkgver"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu" cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
} }
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname"
cargo build --release --frozen cargo build --release --frozen
} }
check() { check() {
cd "$pkgname-$pkgver" cd "$pkgname"
cargo test --frozen cargo test --frozen
} }
package() { package() {
cd "$pkgname-$pkgver" cd "$pkgname"
# binary # binary
install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname" install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"

@ -1 +1 @@
Subproject commit bbc7fd7fbcdb2a4cd063bbb34c07296e38ce40c5 Subproject commit f783af33d6bc70860187f3126016df9ecfcdca0c

@ -1 +1 @@
Subproject commit 89ae498fe22e9f0e8b7cddb191e399571a448947 Subproject commit a21282f41f1fc35d5f6e96bde2fb46af849bdf8a

@ -1 +1 @@
Subproject commit 91675c643841016ef58e38a6673bf5a49d56133f Subproject commit f128bce15e891029a3156014253b9afd121e4966

@ -1 +1 @@
Subproject commit 53e4d0a7a5a7e62cb0b9d4d6ae2ae8268087443f Subproject commit a50106d0c28dfd72d023d09a108ad1aab2b4d3ec

1
sonic Submodule

@ -0,0 +1 @@
Subproject commit 1550764d648e2533f658065f2662e7d01c076327

@ -1 +1 @@
Subproject commit 1cf751c29445d0b18ac1f5a7292d68df739747e1 Subproject commit 94d51ee242f7aa48dc0a3af39801905b37ce35c7