2024-05-12 15:40:03 +09:00
|
|
|
|
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
|
|
|
|
|
2024-05-12 16:02:19 +09:00
|
|
|
|
pkgname=servitor-bin
|
|
|
|
|
_pkgname=servitor
|
2024-05-12 15:40:03 +09:00
|
|
|
|
pkgver=2
|
2024-05-12 16:02:19 +09:00
|
|
|
|
pkgrel=2
|
2024-05-12 15:40:03 +09:00
|
|
|
|
pkgdesc="A command-line Fediverse client that doesn’t require a server"
|
|
|
|
|
arch=('x86_64' 'arm64')
|
|
|
|
|
url="https://github.com/BentonEdmondson/servitor"
|
|
|
|
|
license=('GPL-3.0-only')
|
|
|
|
|
makedepends=()
|
|
|
|
|
optdepends=()
|
|
|
|
|
source=("https://github.com/BentonEdmondson/servitor/releases/download/v$pkgver/servitor.linux.$CARCH")
|
|
|
|
|
# sha256sums=('5387a1f240c0bedc0693fbc609a948803e44cb6a6e1dfee908b11d51fdfcfbac')
|
|
|
|
|
case "${CARCH}" in
|
|
|
|
|
'x86_64')
|
|
|
|
|
sha256sums=('5387a1f240c0bedc0693fbc609a948803e44cb6a6e1dfee908b11d51fdfcfbac')
|
|
|
|
|
;;
|
|
|
|
|
'arm64')
|
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
package() {
|
2024-05-12 16:02:19 +09:00
|
|
|
|
install -Dm755 "servitor.linux.${CARCH}" "${pkgdir}/usr/bin/${_pkgname}"
|
2024-05-12 15:40:03 +09:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# vim: sw=2:
|