Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for Dropbox 0.8.65

By: a guest on Jun 1st, 2010  |  syntax: Bash  |  size: 1.70 KB  |  views: 129  |  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. # Contributor: Massimiliano Torromeo <Massimiliano DOT Torromeo AT gmail DOT com>
  2. # Contributor: Tom < tomgparchaur at gmail dot com >
  3.  
  4. pkgname=dropbox-experimental
  5. _pkgname=dropbox
  6. pkgver=0.8.65
  7. pkgrel=1
  8. pkgdesc="Secure backup, sync and sharing made easy. (Experimental Build)"
  9. arch=("i686" "x86_64")
  10. url="http://www.dropbox.com"
  11. license=(custom)
  12. depends=("bzip2" "dbus-glib" "gtk2" "libsm")
  13. provides=("dropbox")
  14. conflicts=("dropbox")
  15.  
  16. _source_arch="x86"
  17. [ "$CARCH" = "x86_64" ] && _source_arch="x86_64"
  18.  
  19. source=("http://dl-web.dropbox.com/u/17/${_pkgname}-lnx.${_source_arch}-${pkgver}.tar.gz" "dropbox.png" "dropbox.desktop" "terms.html")
  20.  
  21. md5sums=('7050cb06431f2040388a4758918a498a' '9ec50da2ce59ed8c17606394b9c5e1c0' '5365fa9ab8be10f2f9cd4fb53fa9f7e2' '619b5a2e49b48f564423a850c94312d7')
  22. [ "$CARCH" = "x86_64" ] && md5sums=('3c7c04bcd21c3b4f3787b6e25f1c3b29' '9ec50da2ce59ed8c17606394b9c5e1c0' '5365fa9ab8be10f2f9cd4fb53fa9f7e2' '619b5a2e49b48f564423a850c94312d7')
  23.  
  24. build() {
  25.         install -d "$pkgdir/opt"
  26.         rm "$srcdir/.dropbox-dist/libstdc++.so.6"
  27.         cp -R "$srcdir/.dropbox-dist" "$pkgdir/opt/dropbox"
  28.  
  29.         find ${pkgdir}/opt/dropbox/ -type f -exec chmod 644 {} \;
  30.         find ${pkgdir}/opt/dropbox/ -type d -exec chmod 755 {} \;
  31.         chmod 755 ${pkgdir}/opt/dropbox/dropboxd
  32.         chmod 755 ${pkgdir}/opt/dropbox/dropbox
  33.         chown -R root.root ${pkgdir}/opt/dropbox
  34.  
  35.         install -d "$pkgdir/usr/bin"
  36.         ln -s "/opt/dropbox/dropboxd" "$pkgdir/usr/bin/dropboxd"
  37.  
  38.         install -D -m 644 "$srcdir/dropbox.desktop" "$pkgdir/usr/share/applications/dropbox.desktop"
  39.         install -D -m 644 "$srcdir/dropbox.png" "$pkgdir/usr/share/pixmaps/dropbox.png"
  40.         install -D -m 644 "$srcdir/terms.html" "$pkgdir/usr/share/licenses/${pkgname}/terms.html"
  41. }
clone this paste RAW Paste Data