This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 16th, 2012  |  syntax: None  |  size: 1.13 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Tim Gerhard <tim-gerhard@schnellbach-beltheim.de>
  2. # Contributor: TechliveZheng <techlivezheng (at) gmail (dot) com>
  3. # Contributor: Kyla McDonald <kyla.r.mcdonald@gmail.com>
  4.  
  5. pkgname=dropbox-daemon
  6. pkgver=0.5
  7. pkgrel=5
  8. depends=('bash' 'dropbox')
  9. replaces=('dropboxd-userspace')
  10. conflicts=('dropboxd-userspace')
  11. pkgdesc="start dropboxd as a real daemon, running as a specified user."
  12. arch=('any')
  13. url="http://dl.dropbox.com/u/8192972/arch_pacs/dropbox-daemon.html"
  14. license=('MIT')
  15. install="dropbox-daemon.install"
  16. source=('dropboxd' 'dropboxd-userspace' 'dropboxd.conf' 'dropboxd.service')
  17.  
  18. build() {
  19.         cd $srcdir
  20.         mkdir -p ${pkgdir}/etc/rc.d/
  21.         mkdir -p ${pkgdir}/etc/conf.d/
  22.     mkdir -p ${pkgdir}/usr/lib/systemd/system/
  23.         install -m644 dropboxd.conf ${pkgdir}/etc/conf.d/
  24.         install -m755 dropboxd ${pkgdir}/etc/rc.d/
  25.         install -m755 dropboxd-userspace ${pkgdir}/etc/rc.d/
  26.     install -m755 dropboxd.service ${pkgdir}/usr/lib/systemd/system/
  27. }
  28. md5sums=('50200298eef20d1fd412188fe389a1e1'
  29.          'a544bfda2cef11e32b4822b336440e0f'
  30.          '2aa3b6bcc8cc86deacde148da90fd2a6'
  31.          'f9a74e3324d6d62f50c24c82709df87c')
clone this paste RAW Paste Data