From e628459cec6534450e011b3488a41449a9bbfb91 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 12 May 2024 16:02:19 +0900 Subject: [PATCH] fix pkgname --- .SRCINFO | 6 +++--- PKGBUILD | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a6cb2a1..910dd34 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ -pkgbase = servitor +pkgbase = servitor-bin pkgdesc = A command-line Fediverse client that doesn’t 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 diff --git a/PKGBUILD b/PKGBUILD index 7f4d1ec..b4c3288 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,9 @@ # Maintainer: qwjyh -pkgname=servitor +pkgname=servitor-bin +_pkgname=servitor pkgver=2 -pkgrel=1 +pkgrel=2 pkgdesc="A command-line Fediverse client that doesn’t 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: