feat(sshfsc-git): add package
Some checks failed
Build and publish packages / build-and-publish (push) Failing after 5s
Some checks failed
Build and publish packages / build-and-publish (push) Failing after 5s
This commit is contained in:
parent
5912bab251
commit
d74359f238
16
sshfsc-git/.SRCINFO
Normal file
16
sshfsc-git/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
pkgbase = sshfsc-git
|
||||||
|
pkgdesc = Quickly mount remote systems via SSHFS based on your ssh_config
|
||||||
|
pkgver = 0.1.0.r0.gxxxxxxx
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://gitea.moonarch.de/nevaforget/sshfs_connect
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
makedepends = go
|
||||||
|
depends = sshfs
|
||||||
|
provides = sshfsc
|
||||||
|
conflicts = sshfsc
|
||||||
|
source = git+https://gitea.moonarch.de/nevaforget/sshfs_connect.git
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = sshfsc-git
|
||||||
45
sshfsc-git/PKGBUILD
Normal file
45
sshfsc-git/PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# ABOUTME: PKGBUILD for sshfsc — quick SSHFS mounter driven by ssh_config.
|
||||||
|
# ABOUTME: Builds from git source with automatic version detection.
|
||||||
|
|
||||||
|
# Maintainer: Dominik Kressler
|
||||||
|
|
||||||
|
pkgname=sshfsc-git
|
||||||
|
pkgver=0.1.0.r0.gxxxxxxx
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Quickly mount remote systems via SSHFS based on your ssh_config"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://gitea.moonarch.de/nevaforget/sshfs_connect"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
'sshfs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'git'
|
||||||
|
'go'
|
||||||
|
)
|
||||||
|
provides=('sshfsc')
|
||||||
|
conflicts=('sshfsc')
|
||||||
|
source=("git+${url}.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/sshfs_connect"
|
||||||
|
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/sshfs_connect"
|
||||||
|
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||||
|
export CGO_CFLAGS="${CFLAGS}"
|
||||||
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||||
|
export CGO_LDFLAGS="${LDFLAGS}"
|
||||||
|
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
|
||||||
|
go build -o sshfsc .
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/sshfs_connect"
|
||||||
|
install -Dm755 sshfsc "$pkgdir/usr/bin/sshfsc"
|
||||||
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user