summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorImNtReal2016-04-18 10:23:18 -0400
committerImNtReal2016-04-18 10:23:18 -0400
commita8bfcec054eab22c60ab84d2fe5b95778c3ef78e (patch)
tree545cdded88b89f21af743fa196ec2fe643cc445c
parent99a7bf2cb2099652460ea7be448b1d061ff696c0 (diff)
downloadaur-a8bfcec054eab22c60ab84d2fe5b95778c3ef78e.tar.gz
v1.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD17
-rw-r--r--service.patch12
3 files changed, 32 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c38f635f697..ca85e75b397 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Apr 4 17:43:29 UTC 2016
+# Mon Apr 18 14:23:11 UTC 2016
pkgbase = onedrive
pkgdesc = Free OneDrive client written in D
- pkgver = 1.0
- pkgrel = 3
+ pkgver = 1.1
+ pkgrel = 1
url = https://github.com/skilion/onedrive
arch = i686
arch = x86_64
@@ -12,8 +12,10 @@ pkgbase = onedrive
depends = curl
depends = sqlite
conflicts = onedrive-git
- source = https://github.com/skilion/onedrive/archive/v1.0.tar.gz
- sha256sums = ebec4b131806f0173dc6e1aee90639b3152d4819db3b06d0d7a7f82b3cc7d4bf
+ source = https://github.com/skilion/onedrive/archive/v1.1.tar.gz
+ source = service.patch
+ sha256sums = c54fad2b452a6a84e009f8743efecdaaca37abcbfe046fc830d7e101cac3594d
+ sha256sums = f53855c60d23a73119eba2b915b2504f1249a8ab0af179a0ef67a18b5cc46ad9
pkgname = onedrive
diff --git a/PKGBUILD b/PKGBUILD
index 4375a7ae155..d72d3cf6d07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Jameson Pugh <imntreal@gmail.com>
pkgname=onedrive
-pkgver=1.0
-pkgrel=3
+pkgver=1.1
+pkgrel=1
pkgdesc="Free OneDrive client written in D"
arch=('i686' 'x86_64')
url="https://github.com/skilion/onedrive"
@@ -10,9 +10,16 @@ license=('GPL3')
depends=('curl' 'sqlite')
makedepends=('dmd')
conflicts=('onedrive-git')
-source=("https://github.com/skilion/onedrive/archive/v${pkgver}.tar.gz")
-sha256sums=('ebec4b131806f0173dc6e1aee90639b3152d4819db3b06d0d7a7f82b3cc7d4bf')
+source=("https://github.com/skilion/onedrive/archive/v${pkgver}.tar.gz"
+ 'service.patch')
+sha256sums=('c54fad2b452a6a84e009f8743efecdaaca37abcbfe046fc830d7e101cac3594d'
+ 'f53855c60d23a73119eba2b915b2504f1249a8ab0af179a0ef67a18b5cc46ad9')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p0 < ../service.patch
+}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -24,8 +31,10 @@ package() {
install -dm 755 "${pkgdir}/usr/bin"
install -dm 755 "${pkgdir}/etc"
+ install -dm 755 "${pkgdir}/usr/lib/systemd/system"
install -m 755 onedrive "${pkgdir}/usr/bin/"
install -m 644 onedrive.conf "${pkgdir}/etc/"
+ install -m 644 onedrive.service "${pkgdir}/usr/lib/systemd/system/"
}
# vim:set ts=2 sw=2 et:
diff --git a/service.patch b/service.patch
new file mode 100644
index 00000000000..e7120f1f1b0
--- /dev/null
+++ b/service.patch
@@ -0,0 +1,12 @@
+diff -Naur onedrive.service-orig onedrive.service
+--- onedrive.service-orig 2016-04-18 10:18:51.258761559 -0400
++++ onedrive.service 2016-04-18 10:19:01.968883855 -0400
+@@ -3,7 +3,7 @@
+ Documentation=https://github.com/skilion/onedrive
+
+ [Service]
+-ExecStart=/usr/local/bin/onedrive -m
++ExecStart=/usr/bin/onedrive -m
+ Restart=no
+
+ [Install]