fix pkgname

This commit is contained in:
qwjyh 2024-05-12 16:02:19 +09:00
parent cf17f314fd
commit e628459cec
2 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
pkgbase = servitor
pkgbase = servitor-bin
pkgdesc = A command-line Fediverse client that doesnt require a server
pkgver = 2
pkgrel = 1
pkgrel = 2
url = https://github.com/BentonEdmondson/servitor
arch = x86_64
arch = arm64
@ -9,4 +9,4 @@ pkgbase = servitor
source = https://github.com/BentonEdmondson/servitor/releases/download/v2/servitor.linux.x86_64
sha256sums = 5387a1f240c0bedc0693fbc609a948803e44cb6a6e1dfee908b11d51fdfcfbac
pkgname = servitor
pkgname = servitor-bin

View file

@ -1,8 +1,9 @@
# Maintainer: qwjyh <urataw421 at gmail dot com>
pkgname=servitor
pkgname=servitor-bin
_pkgname=servitor
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="A command-line Fediverse client that doesnt require a server"
arch=('x86_64' 'arm64')
url="https://github.com/BentonEdmondson/servitor"
@ -21,7 +22,7 @@ case "${CARCH}" in
esac
package() {
install -Dm755 "servitor.linux.${CARCH}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 "servitor.linux.${CARCH}" "${pkgdir}/usr/bin/${_pkgname}"
}
# vim: sw=2: