mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-09 07:13:12 -05:00
feat: alter which names appear where
This commit is contained in:
@@ -204,7 +204,7 @@ fn pkgbuild<T: Write>(
|
||||
"# This PKGBUILD was generated by `cargo aur`: https://crates.io/crates/cargo-aur"
|
||||
)?;
|
||||
writeln!(file)?;
|
||||
writeln!(file, "pkgname={}-bin", config.binary_name())?;
|
||||
writeln!(file, "pkgname={}-bin", package.name)?;
|
||||
writeln!(file, "pkgver={}", package.version)?;
|
||||
writeln!(file, "pkgrel=1")?;
|
||||
writeln!(file, "pkgdesc=\"{}\"", package.description)?;
|
||||
@@ -220,7 +220,7 @@ fn pkgbuild<T: Write>(
|
||||
writeln!(
|
||||
file,
|
||||
" install -Dm755 {} -t \"$pkgdir/usr/bin\"",
|
||||
package.name
|
||||
config.binary_name()
|
||||
)?;
|
||||
|
||||
if let Some(lic) = license {
|
||||
|
||||
Reference in New Issue
Block a user