init with v2

This commit is contained in:
qwjyh 2024-05-12 15:40:03 +09:00
commit cf17f314fd
3 changed files with 40 additions and 0 deletions

12
.SRCINFO Normal file
View file

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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*

27
PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: qwjyh <urataw421 at gmail dot com>
pkgname=servitor
pkgver=2
pkgrel=1
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: