summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Depau2019-04-28 12:09:36 +0200
committerDavide Depau2019-04-28 12:09:36 +0200
commit6c9b4e1ccc4525cc151239070db4c566701676d8 (patch)
treed032b9bca58574dc3bb09fc51cd3bba5b1006129
parenta3da3c9d8076411c5200b749a0ae7174f59f540e (diff)
downloadaur-6c9b4e1ccc4525cc151239070db4c566701676d8.tar.gz
Fix PKGBUILD for new master changes, credits to @mblumenstingl
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23601724b17..fd897868950 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = onedrive-abraunegg-git
pkgdesc = Free OneDrive client written in D - abraunegg's fork
- pkgver = 2.3.3.r1.gc8e47a4
+ pkgver = 2.3.3.r4.gfbad4b4
pkgrel = 1
epoch = 1
url = https://github.com/abraunegg/onedrive
@@ -14,7 +14,7 @@ pkgbase = onedrive-abraunegg-git
depends = glibc
depends = sqlite
depends = libnotify
- provides = onedrive=2.3.3.r1.gc8e47a4
+ provides = onedrive=2.3.3.r4.gfbad4b4
conflicts = onedrive
source = git+https://github.com/abraunegg/onedrive.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 728abdd72a7..23fde9ff243 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=onedrive
pkgname=$_pkgname-abraunegg-git
-pkgver=2.3.3.r1.gc8e47a4
+pkgver=2.3.3.r4.gfbad4b4
pkgrel=1
epoch=1
pkgdesc="Free OneDrive client written in D - abraunegg's fork"
@@ -29,10 +29,13 @@ pkgver() {
}
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"
}