commit cf17f314fd9457dece64a7691c2ffc8d640295d2 Author: qwjyh Date: Sun May 12 15:40:03 2024 +0900 init with v2 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a6cb2a1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = servitor + pkgdesc = A command-line Fediverse client that doesn’t 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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7f4d1ec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: qwjyh + +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: