summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuildTools2015-09-23 16:15:28 -0400
committerBuildTools2015-09-23 16:15:28 -0400
commit24da9d2a431ea5612f3c1ca6d3c249c6628551e4 (patch)
treedfad8986b7e846311be92578718a2d1bb64b254f
downloadaur-24da9d2a431ea5612f3c1ca6d3c249c6628551e4.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f697226d18d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = onedrive
+ pkgdesc = Free OneDrive client written in D
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/skilion/onedrive
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = dmd
+ depends = curl
+ depends = sqlite
+ source = https://github.com/skilion/onedrive/archive/v1.0.tar.gz
+ sha256sums = ebec4b131806f0173dc6e1aee90639b3152d4819db3b06d0d7a7f82b3cc7d4bf
+
+pkgname = onedrive
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..652ec8a266e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Jameson Pugh <imntreal@gmail.com>
+
+pkgname=onedrive
+pkgver=1.0
+pkgrel=1
+pkgdesc="Free OneDrive client written in D"
+arch=('i686' 'x86_64')
+url="https://github.com/skilion/onedrive"
+license=('GPL3')
+depends=('dmd' 'curl' 'sqlite')
+source=("https://github.com/skilion/onedrive/archive/v${pkgver}.tar.gz")
+sha256sums=('ebec4b131806f0173dc6e1aee90639b3152d4819db3b06d0d7a7f82b3cc7d4bf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -dm 755 "${pkgdir}/bin"
+ install -dm 755 "${pkgdir}/etc/onedrive"
+ install -m 755 onedrive "${pkgdir}/bin/"
+ install -m 622 onedrive.conf "${pkgdir}/etc/onedrive/"
+}
+
+# vim:set ts=2 sw=2 et: