Compare commits

..

No commits in common. "fa4f33a68a511200cc61ce892ea7dbb3eb1c76f0" and "023aab34d983d490a05621e4cb0e88c6822b757c" have entirely different histories.

9 changed files with 15 additions and 30 deletions

3
.gitmodules vendored
View file

@ -529,9 +529,6 @@
[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,12 +121,6 @@ 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,43 +1,38 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org> # Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cargo-geiger pkgname=cargo-geiger
pkgver=0.11.2 pkgver=0.11.1
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=('git' 'rust') makedepends=('rust')
options=('!lto') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgname-$pkgver.tar.gz")
_commit='33f939738299c8da9247e60adab8a008da145b88' b2sums=('01117f80b72de3cf145bb549cd6a5775b99c3ef37aad4972aa842d03decd68a7bd7ed1a32358070fb6836d64da1fe011a232c7ba46c91f0dbf7b0847681ebb97')
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() {
cd "$pkgname" # remove redundant 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" cd "$pkgname-$pkgver"
cargo build --release --frozen cargo build --release --frozen
} }
check() { check() {
cd "$pkgname" cd "$pkgname-$pkgver"
cargo test --frozen cargo test --frozen
} }
package() { package() {
cd "$pkgname" cd "$pkgname-$pkgver"
# binary # binary
install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname" install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"

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

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

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

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

1
sonic

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

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