27 lines
747 B
Bash
27 lines
747 B
Bash
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
||
|
||
pkgname=servitor
|
||
pkgver=2
|
||
pkgrel=1
|
||
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() {
|
||
install -Dm755 "servitor.linux.${CARCH}" "${pkgdir}/usr/bin/${pkgname}"
|
||
}
|
||
|
||
# vim: sw=2:
|