SHARE
TWEET

Untitled

a guest Nov 29th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=onedriveclient-git
  2. _pkgname=onedriveClient
  3. pkgver=2018.10.1.e1a330c
  4. pkgrel=1
  5. pkgdesc="A Microsoft OneDrive and OneDrive for Business client for Linux, written in Python3."
  6. url="https://github.com/derrix060/onedriveClient"
  7. license=('MIT')
  8. arch=('any')
  9. depends=(
  10.     'python-arrow'
  11.     'python-asn1crypto'
  12.     'python-bidict'
  13.     'python-certifi'
  14.     'python-cffi'
  15.     'python-chardet'
  16.     'python-click'
  17.     'python-colorama'
  18.     'python-cryptography'
  19.     'python-daemonocle'
  20.     'python-idna'
  21.     'python-inotify-simple'
  22.     'python-keyring'
  23.     'onedrive-sdk-python-git'
  24.     'python-psutil'
  25.     'python-pycparser'
  26.     'python-dateutil'
  27.     'python-pyaml'
  28.     'python-requests'
  29.     'python-secretstorage'
  30.     'python-send2trash'
  31.     'python-six'
  32.     'python-tabulate'
  33.     'python-urllib3'
  34.     'python-zgitignore'
  35.     'python-keyrings-alt'
  36.     'inotify-tools'
  37.     'ngrok'
  38.     )
  39.        
  40. makedepends=('git')
  41. source=('git+https://github.com/derrix060/onedriveClient'
  42.         'onedriveClient.service')
  43. sha256sums=('SKIP'
  44.             '28466f805eca825145be503643d801273e8d00103b747fcd649b05dd04f6245e')
  45.  
  46. prepare() {
  47.     sed -i 's/==/>=/' "$srcdir/$_pkgname/requirements.txt"
  48. }
  49.  
  50. build() {
  51.     cd "$srcdir/$_pkgname"
  52.     python setup.py build
  53. }
  54.  
  55. package() {
  56.     cd "$srcdir/$_pkgname"
  57.     python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  58.     python setup.py clean
  59.     install -Dm755 ../onedriveClient.service "$pkgdir/usr/lib/systemd/user/onedriveClient.service"
  60. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top