Skip to content

Instantly share code, notes, and snippets.

@zlocate
Created March 7, 2024 18:49
Show Gist options
  • Save zlocate/587e50edf5a13a685c351242fa109390 to your computer and use it in GitHub Desktop.
Save zlocate/587e50edf5a13a685c351242fa109390 to your computer and use it in GitHub Desktop.
Rapid SSH Proxy (https://github.com/Snawoot/rsp) package build config (PKGBUILD) for Arch Linux/Manjaro
pkgbase='rsp'
pkgname=('rsp')
_module='rsp'
pkgver='1.0.1'
pkgrel=1
pkgdesc="Rapid SSH Proxy"
url="https://github.com/Snawoot/rsp"
depends=('python' 'python-asyncssh')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
sha256sums=('0a0db68f329d537e775f5f2ed995233488ce96a86388985faac0814fa89c8683')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment