From cf17f314fd9457dece64a7691c2ffc8d640295d2 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 12 May 2024 15:40:03 +0900 Subject: [PATCH] init with v2 --- .SRCINFO | 12 ++++++++++++ .gitignore | 1 + PKGBUILD | 27 +++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD 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: