Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add crm-git #2986

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add crm-git #2986

wants to merge 2 commits into from

Conversation

taotieren
Copy link
Contributor

@taotieren taotieren commented Oct 28, 2022

Cargo registry manager (Cargo 注册表管理器),用于方便的管理和更换 Rust 国内镜像源

Comment on lines +13 to +14
depends=('cargo')
makedepends=('git' 'rust')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crm-git W: Dependency gcc-libs detected and implicitly satisfied (libraries ['usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/crm'])
crm-git W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/ld-linux-x86-64.so.2', 'usr/lib/libc.so.6'] needed in files ['usr/bin/crm'])
crm-git W: Dependency included, but may not be needed ('cargo')

Comment on lines +8 to +9
url="https://github.com/wtklbm/crm"
license=('MIT' 'Apache-2.0')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crm-git E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/crm-git/ or switching to common license identifiers. Found 0/1 required license files.

Comment on lines +41 to +46
package() {
cd "${srcdir}/${pkgname%-git}/"

export RUSTUP_TOOLCHAIN=stable
cargo install --no-track --all-features --root "$pkgdir/usr/" --path .
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crm-git E: ELF file ('usr/bin/crm') found in an 'any' package.
crm-git W: ELF file ('usr/bin/crm') is unstripped.
crm-git W: ELF file ('usr/bin/crm') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
Installing /build/crm-git/pkg/crm-git/usr/bin/crm
Installed package `crm v0.2.1 (/build/crm-git/src/crm)` (executable `crm`)
warning: be sure to add `/build/crm-git/pkg/crm-git/usr/bin` to your PATH to be able to run the installed binaries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants