Package Details: svfs 0.9.1-2

Git Clone URL: https://aur.archlinux.org/svfs.git (read-only)
Package Base: svfs
Description: The Swift Virtual File System for hubiC (ovh)
Upstream URL: https://github.com/ovh/svfs
Licenses: BSD
Conflicts: svfs-git
Provides: svfs
Submitter: widowild
Maintainer: widowild
Last Packager: widowild
Votes: 2
Popularity: 0.000000
First Submitted: 2016-04-14 22:21
Last Updated: 2017-02-11 15:39

Latest Comments

ArchangeGabriel commented on 2018-05-14 17:02

This package should be called sfvs-bin, or you should use a PKGBUILD building from source like this one:

pkgname=svfs
pkgver=0.9.1
pkgrel=1
pkgdesc="Swift Virtual File System"
arch=('i686' 'x86_64')
url="https://github.com/ovh/svfs"
license=('custom')
depends=('ruby' 'fuse')
makedepends=('go-pie')
source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
sha256sums=('4ea00ac0d6ce820d55f8aa1a4ae4799540cfbab6323f2fa1dced5487e60c125a')

prepare() {
    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/vendor/github.com/ovh/svfs/
    ln -s "${srcdir}"/${pkgname}-${pkgver}/vendor{,/src}
    ln -s "${srcdir}"/${pkgname}-${pkgver}/{,vendor/github.com/ovh/svfs/}cmd
    ln -s "${srcdir}"/${pkgname}-${pkgver}/{,vendor/github.com/ovh/svfs/}config
    ln -s "${srcdir}"/${pkgname}-${pkgver}/{,vendor/github.com/ovh/svfs/}svfs
}

build() {
    cd ${pkgname}-${pkgver}
    GOPATH="${srcdir}"/${pkgname}-${pkgver}/vendor go build -o bin/svfs
}

package() {
    cd ${pkgname}-${pkgver}
    install -Dm755 bin/svfs -t "${pkgdir}"/usr/bin/
    install -Dm755 scripts/mount.svfs -t "${pkgdir}"/usr/bin/
    install -Dm755 scripts/hubic-application.rb "${pkgdir}"/usr/bin/hubic-application
    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}