diff options
author | eolianoe | 2017-05-30 09:58:09 +0200 |
---|---|---|
committer | eolianoe | 2017-05-30 09:58:09 +0200 |
commit | 1a544a6f8bd336205c5fed27e0a5ae94a99361c6 (patch) | |
tree | 746a0cccc539ef9a003d5ab766d36c6f8b229ddd | |
download | aur-1a544a6f8bd336205c5fed27e0a5ae94a99361c6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rwxr-xr-x | seadrive | 3 |
4 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a665c89eedc6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Tue May 30 07:57:45 UTC 2017 +pkgbase = seadrive-daemon + pkgdesc = Daemon part of seadrive + pkgver = 0.6.1 + pkgrel = 1 + url = https://bintray.com/seafile-org/deb-unstable/seadrive-daemon + arch = i686 + arch = x86_64 + license = Apache + depends = libsearpc + depends = libcurl-compat + depends = openssl-1.0 + depends = fuse + depends = libevent + source = seadrive + sha256sums = 84d5123465ae17cf5b9f3a326e6364fcaf0ffc58f4df693670414895cf38b5f3 + source_i686 = https://dl.bintray.com/seafile-org/deb-unstable/jessie/pool/main/s/seadrive-daemon/seadrive-daemon_0.6.1_i386.deb + sha256sums_i686 = a2cbe633b18ec63be0933f85a360004b5e060b3d847fdbe57392cf561aa94f48 + source_x86_64 = https://dl.bintray.com/seafile-org/deb-unstable/jessie/pool/main/s/seadrive-daemon/seadrive-daemon_0.6.1_amd64.deb + sha256sums_x86_64 = d76957bd954c05e54646c133c33c6b9d115a72f73d0c71944b0345574da422f8 + +pkgname = seadrive-daemon + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7bd9e4cd775b --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.gz +*.xz +*.deb +/pkg +/src diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..197254fb7571 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: eolianoe <eolianoe [at] gmail [DoT] com> + +pkgname=seadrive-daemon +pkgver=0.6.1 +pkgrel=1 +pkgdesc="Daemon part of seadrive" +arch=('i686' 'x86_64') +url="https://bintray.com/seafile-org/deb-unstable/seadrive-daemon" +license=('Apache') +depends=('libsearpc' 'libcurl-compat' 'openssl-1.0' 'fuse' 'libevent') +source=('seadrive') +source_i686=("https://dl.bintray.com/seafile-org/deb-unstable/jessie/pool/main/s/seadrive-daemon/seadrive-daemon_0.6.1_i386.deb") +source_x86_64=("https://dl.bintray.com/seafile-org/deb-unstable/jessie/pool/main/s/seadrive-daemon/seadrive-daemon_0.6.1_amd64.deb") +sha256sums=('84d5123465ae17cf5b9f3a326e6364fcaf0ffc58f4df693670414895cf38b5f3') +sha256sums_i686=('a2cbe633b18ec63be0933f85a360004b5e060b3d847fdbe57392cf561aa94f48') +sha256sums_x86_64=('d76957bd954c05e54646c133c33c6b9d115a72f73d0c71944b0345574da422f8') + +prepare() { + cd "${srcdir}" + + tar -xJf data.tar.xz +} + +package () { + cd "${srcdir}" + + install -Dm 755 "${srcdir}/seadrive" "${pkgdir}/usr/bin/seadrive" + install -Dm 755 "${srcdir}/usr/bin/seadrive" "${pkgdir}/usr/share/seadrive/seadrive" +} diff --git a/seadrive b/seadrive new file mode 100755 index 000000000000..e9f3ef22a92d --- /dev/null +++ b/seadrive @@ -0,0 +1,3 @@ +#!/bin/sh +export LD_PRELOAD="libcurl-compat.so.4.4.0" +/usr/share/seadrive/seadrive "$@" |