summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2018-07-26 10:32:00 -0500
committerDoug Newgard2018-07-26 10:32:00 -0500
commit825f0ecc1f6e429195cbf87726abf9c7badb8778 (patch)
tree701ad7ce75c94f7f822ab09a5b362097c2882429
parent8175efd634c759197acf303b0e7c0e1707ca011f (diff)
downloadaur-825f0ecc1f6e429195cbf87726abf9c7badb8778.tar.gz
Fix build with libphobos >= 2.081.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ec08fb3f8e2..c2397a17f0a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = onedrive-git
pkgdesc = Free OneDrive client written in D
- pkgver = 1.1.1.r0.gd9a5d1b
+ pkgver = 1.1.1.r2.gc231b13
pkgrel = 1
epoch = 1
url = https://github.com/skilion/onedrive
@@ -13,7 +13,7 @@ pkgbase = onedrive-git
depends = gcc-libs
depends = glibc
depends = sqlite
- provides = onedrive=1.1.1.r0.gd9a5d1b
+ provides = onedrive=1.1.1.r2.gc231b13
conflicts = onedrive
source = git+https://github.com/skilion/onedrive.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 713d8606e55..6d391e3d7ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=onedrive
pkgname=$_pkgname-git
-pkgver=1.1.1.r0.gd9a5d1b
+pkgver=1.1.1.r2.gc231b13
pkgrel=1
epoch=1
pkgdesc='Free OneDrive client written in D'
@@ -17,6 +17,10 @@ conflicts=('onedrive')
source=('git+https://github.com/skilion/onedrive.git')
sha256sums=('SKIP')
+prepare() {
+ sed -i 's/std\.c\./core.stdc./g' $_pkgname/src/sqlite.d
+}
+
pkgver() {
cd $_pkgname