Package Details: onedriver 0.14.1-0

Git Clone URL: https://aur.archlinux.org/onedriver.git (read-only, click to copy)
Package Base: onedriver
Description: Native Linux filesystem for Microsoft OneDrive
Upstream URL: https://github.com/jstaf/onedriver
Licenses: GPL3
Submitter: faisalm
Maintainer: faisalm
Last Packager: faisalm
Votes: 33
Popularity: 0.161484
First Submitted: 2021-03-25 16:15 (UTC)
Last Updated: 2023-10-23 18:21 (UTC)

Required by (0)

Sources (1)

Pinned Comments

faisalm commented on 2023-10-23 18:22 (UTC)

Updated to 0.14.1. Thanks to @maxxsom for the updated PKGBUILD.

faisalm commented on 2021-05-31 16:07 (UTC)

FWIW, I had to manually create the systemd service, after which I was able to enable/start it. YMMV.

export SERVICE_NAME=$(systemd-escape --template onedriver@.service --path $MOUNTPOINT)
cp /usr/lib/systemd/user/onedriver@.service $HOME/.config/systemd/user/$SERVICE_NAME

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

billypilgrim commented on 2022-12-20 09:52 (UTC)

Has anyone else got the bundled systemd unit file to work? I'm getting this error:

Dec 20 09:39:18 medion systemd[737]: /usr/lib/systemd/user/onedriver@.service:5: Failed to resolve unit specifiers in %f: Invalid argument
Dec 20 09:39:18 medion systemd[737]: onedriver@-home-alex-mnt-onedrive.service: Unit configuration has fatal error, unit will not be started.
Dec 20 09:39:18 medion systemd[737]: onedriver@-home-alex-mnt-onedrive.service: Cannot add dependency job, ignoring: Unit onedriver@-home-alex-mnt-onedrive.service has a bad unit file setting.
Dec 20 09:39:19 medion systemd[737]: /usr/lib/systemd/user/onedriver@.service:5: Failed to resolve unit specifiers in %f: Invalid argument

cfinnberg commented on 2022-11-21 15:46 (UTC) (edited on 2022-11-21 15:46 (UTC) by cfinnberg)

While this package gets updated, if anyone wants the 0.13.0 version, I made it work with this PKGBUILD:

# Maintained by Faisal Moledina (faisal at moledina dot me)
pkgname=onedriver
pkgver=0.13.0
pkgrel=1
pkgdesc="Native Linux filesystem for Microsoft OneDrive"
arch=('x86_64')
url='https://github.com/jstaf/onedriver'
license=('GPL3')
depends=('fuse2' 'webkit2gtk')
makedepends=('pkgconf' 'go')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('aa831017c4d9612fbdea1e2fab05864f84074e6b80e7613ae739d2954e7b6e975d6a1aaaaba330c0038dae69839dcf608576a96a88797cf575791fae65673d4a')

build() {
  cd "$pkgname-$pkgver"
  make
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname
  install -Dm 755 $pkgname-launcher "$pkgdir"/usr/bin/$pkgname-launcher

  install -Dm 644 "resources/onedriver@.service" "$pkgdir"/usr/lib/systemd/user/onedriver@.service
  install -Dm 644 resources/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
  install -Dm 644 resources/$pkgname.png "$pkgdir"/usr/share/icons/onedriver/$pkgname.png
  install -Dm 644 resources/$pkgname-128.png "$pkgdir"/usr/share/icons/onedriver/$pkgname-128.png
  install -Dm 644 resources/$pkgname.svg "$pkgdir"/usr/share/icons/onedriver/$pkgname.svg
  install -Dm 644 resources/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
}

faisalm commented on 2022-11-21 14:14 (UTC)

@ORION: Sorry for the late response. Not sure what is the issue with GOMODCACHE or GOPATH. Give 0.13.0 a try. Thanks!

faisalm commented on 2022-11-21 14:12 (UTC)

Updated to v0.13.0.

xs2022 commented on 2022-10-18 09:25 (UTC)

Very nice software,I like it so much.Thank U. 非常棒的软件,我很喜欢。谢谢你。

phye commented on 2022-09-16 14:18 (UTC)

Fascinating!

ORION commented on 2022-08-21 10:27 (UTC)

I get the error: ==> Starting build()... go: module cache not found: neither GOMODCACHE nor GOPATH is set ==> ERROR: A failure occurred in build(). Aborting...

Any ideas on what's going on? go env GOMODCACHE & GOPATH show they're both set to defaults =/

fayez-nazzal commented on 2022-03-27 13:11 (UTC)

Amazing!

StratosL commented on 2022-01-20 19:30 (UTC)

@faisalm Thanks!

faisalm commented on 2022-01-20 06:20 (UTC)

@StratosL, thanks for the comments but I'm just a humble package maintainer for this. Your questions are very valid and I'm curious to know the answers as well. Please reach out to the developer at the upstream Github URL. Thank you!