fix binary name error

This commit is contained in:
2024-10-11 09:35:40 -07:00
parent b79c1d01a0
commit 417446a3d3
3 changed files with 15 additions and 12 deletions

View File

@@ -1,12 +1,13 @@
pkgname=mapfixer
pkgver=1.1.1.r111
_name=mapfixer
pkgname=$_name-git
pkgrel=1
pkgdesc="A tool for reviewing bhop and surf maps."
arch=('x86_64')
url="https://git.itzana.me/StrafesNET/mapfixer"
url="https://git.itzana.me/StrafesNET/$_name"
license=('MIT')
makedepends=('cargo')
source=("$pkgname::git+https://git.itzana.me/StrafesNET/mapfixer")
source=("$pkgname::git+https://git.itzana.me/StrafesNET/$_name")
sha256sums=('SKIP')
pkgver() {
@@ -43,5 +44,5 @@ check() {
package() {
cd $pkgname
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_name"
}