blob: e6e9bc3404c023b8e4d6f253857e700f79cc14a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# AUR Maintainer: Modelmat <modelmat@outlook.com.au>
# Repository Owner: Mario Apra <mariotapra@gmail.com>
# Contributor: Aanok <fabrizio07@gmail.com>
pkgname=onedrive-client-git
_pkgname=onedriveClient
pkgver=r270.be86e8b
pkgrel=1
pkgdesc="A Microsoft OneDrive and OneDrive for Business client for Linux, written in Python3."
url="https://github.com/derrix060/onedriveClient"
license=('MIT')
arch=('any')
replaces=('onedriveclient-git')
depends=(
'python-arrow'
'python-asn1crypto'
'python-bidict'
'python-certifi'
'python-cffi'
'python-chardet'
'python-click'
'python-colorama'
'python-cryptography'
'python-daemonocle'
'python-idna'
'python-inotify-simple'
'python-keyring'
'onedrive-sdk-python-git'
'python-psutil'
'python-pycparser'
'python-dateutil'
'python-pyaml'
'python-requests'
'python-secretstorage'
'python-send2trash'
'python-six'
'python-tabulate'
'python-urllib3'
'python-zgitignore'
'python-keyrings-alt'
'inotify-tools'
'ngrok'
)
makedepends=('git')
source=('git+https://github.com/derrix060/onedriveClient'
'onedriveClient.service')
md5sums=('SKIP'
'28d391659002d7af93628dc9831f4a5c')
prepare() {
sed -i 's/==/>=/' "$srcdir/$_pkgname/requirements.txt"
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
python setup.py clean
install -Dm755 ../onedriveClient.service "$pkgdir/usr/lib/systemd/user/onedriveClient.service"
}
|