servitor-bin/PKGBUILD
2024-05-12 16:02:19 +09:00

28 lines
770 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Maintainer: qwjyh <urataw421 at gmail dot com>
pkgname=servitor-bin
_pkgname=servitor
pkgver=2
pkgrel=2
pkgdesc="A command-line Fediverse client that doesnt 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() {
install -Dm755 "servitor.linux.${CARCH}" "${pkgdir}/usr/bin/${_pkgname}"
}
# vim: sw=2: