diff options
author | sapient_cogbag | 2024-04-26 15:15:54 +0100 |
---|---|---|
committer | sapient_cogbag | 2024-04-26 15:15:54 +0100 |
commit | 55c05678ded26802078615b46ea184a7dc74bb04 (patch) | |
tree | 137eebd40ce8d26848581174dd8d9811ff1f6266 | |
parent | c8ea40cf04e832cd36933b567d61c34da347d6b4 (diff) | |
download | aur-rustcities-git.tar.gz |
Fixed a dependency issue and made the pkgbuild better match the rust PKGBUILD recommendations ^.^
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 17 insertions, 8 deletions
@@ -1,12 +1,16 @@ pkgbase = rustcities-git pkgdesc = Neocities API client written in rust - pkgver = v1.0.0.r1.f5605aa + pkgver = v1.0.2.r0.0192f9a pkgrel = 1 url = https://gitlab.com/sapient_cogbag/rustcities - arch = any - license = GPL3 + arch = x86_64 + arch = i686 + license = GPL-3.0-or-later makedepends = git makedepends = cargo + depends = openssl + depends = gcc-libs + depends = glibc provides = rustcities conflicts = rustcities source = rustcities-git::git+https://gitlab.com/sapient_cogbag/rustcities.git#branch=main @@ -1,13 +1,13 @@ # Maintainer: sapient_cogbag <sapient_cogbag at protonmail dot com> pkgname=rustcities-git -pkgver=v1.0.0.r1.f5605aa -pkgrel=2 +pkgver=v1.0.2.r0.0192f9a +pkgrel=1 pkgdesc="Neocities API client written in rust" arch=('x86_64' 'i686') url="https://gitlab.com/sapient_cogbag/rustcities" -license=('GPL3') +license=('GPL-3.0-or-later') makedepends=('git' 'cargo') -depends=('openssl' 'gcc-libs') +depends=('openssl' 'gcc-libs' 'glibc') provides=("rustcities") conflicts=("rustcities") source=('rustcities-git::git+https://gitlab.com/sapient_cogbag/rustcities.git#branch=main') @@ -25,7 +25,11 @@ pkgver() { prepare() { cd "$srcdir/rustcities-git" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + + export RUSTUP_TOOLCHAIN=stable + # Taken from https://wiki.archlinux.org/title/Rust_package_guidelines + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" + } build() { @@ -38,6 +42,7 @@ build() { check() { cd "$srcdir/rustcities-git" + export RUSTUP_TOOLCHAIN=stable cargo test --frozen --all-features } |