summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Smit2020-07-22 12:38:42 +0200
committerPeter Smit2020-07-22 12:38:42 +0200
commit09d3e090639449769123aca00101c2de1e54f1cd (patch)
tree86316215ad6a7acb06c0d820c5ba0c95ffe3d5d8
parentde65e17972dfb5ec861c2237cf0f58695166757a (diff)
downloadaur-09d3e090639449769123aca00101c2de1e54f1cd.tar.gz
Provide standard paths form systemd unit files, in order to allow building without systemd present
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 09ea03cfe1af..69b82c8464b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = onedrive-abraunegg
pkgdesc = Free OneDrive client written in D - abraunegg's fork. Follows the releases on https://github.com/abraunegg/onedrive/releases
pkgver = 2.4.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/abraunegg/onedrive
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 60b5808aee84..385830354161 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=onedrive
pkgname=$_pkgname-abraunegg
pkgver=2.4.3
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Free OneDrive client written in D - abraunegg's fork. Follows the releases on https://github.com/abraunegg/onedrive/releases"
arch=('i686' 'x86_64' 'armv7h')
@@ -17,7 +17,7 @@ makedepends=('d-compiler')
build() {
cd "$_pkgname-$pkgver"
- ./configure --sysconfdir=/etc --prefix=/usr --enable-notifications --enable-completions
+ ./configure --sysconfdir=/etc --prefix=/usr --with-systemdsystemunitdir=/usr/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd/user --enable-notifications --enable-completions
make
}