Package Details: onedrive-abraunegg-git 1:2.3.3.r4.gfbad4b4-2

Git Clone URL: https://aur.archlinux.org/onedrive-abraunegg-git.git (read-only)
Package Base: onedrive-abraunegg-git
Description: Free OneDrive client written in D - abraunegg's fork
Upstream URL: https://github.com/abraunegg/onedrive
Licenses: GPL3
Conflicts: onedrive
Provides: onedrive=2.3.3.r4.gfbad4b4
Submitter: Depau
Maintainer: Depau (abraunegg)
Last Packager: Depau
Votes: 24
Popularity: 1.144058
First Submitted: 2018-07-31 00:19
Last Updated: 2019-05-01 22:20

Pinned Comments

Depau commented on 2018-10-08 13:25

Guys, stop flagging this package as out of date. It's a freaking GIT package pulling from master, how the hell is it not up to date?

If it doesn't build it doesn't mean it's out of date.

If upstream broke the build, report an issue to upstream.

If this PKGBUILD needs changes to build with the latest commits, add a comment.

Latest Comments

1 2 3 4 Next › Last »

Kr1ss commented on 2019-04-28 16:44

@Depau, @abraunegg : The logrotate.d folder is installed under /usr/etc/, not sure if that's intended.

If not, the configure call in build() could be changed to:

./configure sysconfdir=/etc --enable-notifications=yes --enable-completions=yes --prefix=/usr

to install this into /etc/. Note the missing dashes, because --sysconfdir is not defined as an option but just as a variable $sysconfdir inside the configure script.

Depau commented on 2019-04-28 10:16

@mblumenstingl I have included your patch, thank you

@abraunegg Having a clean build environment is none of the PKGBUILD's business, it's the user's job to clean it up. Most AUR helpers will do that for you. I added the make flags as you suggested, it builds. Let me know if any other changes are required :)

mblumenstingl commented on 2019-04-24 18:51

PKGBUILD patch so the package builds fine with https://github.com/abraunegg/onedrive/commit/daec620c1a2e8f84a87761d9db891219bb27c6a8:

--- PKGBUILD.orig   2019-04-24 17:46:47.826619867 +0200
+++ PKGBUILD    2019-04-24 17:50:50.083276671 +0200
@@ -29,10 +29,13 @@
 }

 build() {
-  make PREFIX=/usr -C $_pkgname
+  cd $_pkgname
+
+  ./configure --enable-notifications --enable-completions --prefix=/usr
+  make
 }

 package() {
-  make COMPLETIONS=1 NOTIFICATIONS=1 PREFIX=/usr DESTDIR="$pkgdir" -C $_pkgname install
+  make DESTDIR="$pkgdir" -C $_pkgname install
   install -Dm644 $_pkgname/config "$pkgdir/usr/share/onedrive/config.default"
 }

Kr1ss commented on 2019-04-24 18:10

After reading @abraunegg's most recent comment and some fiddling with the configure script, I have figured out that this PKGBUILD works fine, although I hope I'm not missing anything.

Anyways, thx for the software and for packaging this. Cheers !

EDIT Not sure about the prepare() function though; I preferred not to touch it.

abraunegg commented on 2019-04-23 21:49

@Depau Also, in the pkgbuild file you have the following:

prepare() {
  sed -i 's/std\.c\./core.stdc./g' $_pkgname/src/sqlite.d
}

This should not need to be in the PKGBUILD file. Suggest also to ensure that your running a clean build, your make line should be:

make clean; make COMPLETIONS=1 NOTIFICATIONS=1 PREFIX=/usr DESTDIR="$pkgdir" -C $_pkgname install

Also - #287 introduced ./configure capability using pkg-config, so potentially could be updated to use that & ./configure <ARG> as well

abraunegg commented on 2019-04-23 20:33

@Depau Please can you check this package. 2 issues raised (#472, #474) where the @prefix@ not replaced in onedrive.service when using this package, thus the service fails to start. Please can you check.

Depau commented on 2019-04-21 23:14

@abraunegg done.

abraunegg commented on 2019-04-20 08:05

@Depau Might be worth checking / tweaking this git package based on latest master

Pete commented on 2019-03-29 10:49

I have created the package https://aur.archlinux.org/packages/onedrive-abraunegg/ which updates on every release.

enihcam commented on 2019-03-18 12:40

https://aur.archlinux.org/packages/onedrive-bin/ @abraunegg @Pete