48 lines
1.3 KiB
Bash
48 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=sshfs
|
|
pkgver=3.7.3
|
|
pkgrel=01
|
|
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
|
|
arch=('x86_64')
|
|
url="https://github.com/libfuse/sshfs"
|
|
depends=(fuse3 glib2 openssh)
|
|
makedepends=('meson' 'python-docutils')
|
|
source=(https://github.com/libfuse/sshfs/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz{,.asc})
|
|
# https://github.com/libfuse/sshfs/commit/508e8cb0.patch)
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
# patch -p1 -i ../508e8cb0.patch # Fix typo that prevents passing the PubkeyAcceptedKeyTypes option to ssh
|
|
rm -rf build
|
|
mkdir build
|
|
cd build
|
|
arch-meson ..
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver/build
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL)
|
|
|
|
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus@rath.org>
|
|
|
|
sha256sums=(5218ce7bdd2ce0a34137a0d7798e0f6d09f0e6d21b1e98ee730a18b0699c2e99 # sshfs-3.7.3.tar.xz
|
|
6ec65377c6da471e509eb0d5583408b46840f6959f13b45385b1acd81692e7bf) # sshfs-3.7.3.tar.xz.asc
|
|
|
|
|