SHARE
TWEET

caja-dropbox PKGBUILD

perkinsjs83 Feb 6th, 2015 607 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer : Martin Wimpress <code@flexion.org>
  2.  
  3. pkgname=caja-dropbox
  4. pkgver=1.8.0
  5. pkgrel=1
  6. pkgdesc="Dropbox for Linux - Caja extension"
  7. url="http://forums.dropbox.com/topic.php?id=21111"
  8. arch=('i686' 'x86_64')
  9. license=('custom:CC-BY-ND-3' 'GPL')
  10. depends=('caja' 'glib2' 'libnotify' 'polkit' 'procps' 'pygtk' 'xdg-utils')
  11. makedepends=('mate-common' 'python2-docutils')
  12. optdepends=('dropbox: Dropbox support')
  13. options=('!emptydirs')
  14. source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
  15. sha1sums=('616ef634f2a5ba479dd2402d8527fcd5cf9950b0')
  16.  
  17. prepare() {
  18.     cd "${srcdir}/${pkgname}-${pkgver}"
  19.     autoreconf -fi
  20.     sed -i "s/python/python2/" configure.ac configure caja-dropbox.in Makefile.am Makefile.in rst2man.py
  21. }
  22.  
  23. build() {
  24.     cd "${srcdir}/${pkgname}-${pkgver}"
  25.     ./configure \
  26.         --prefix=/usr \
  27.         --disable-static
  28.     make
  29. }
  30.  
  31. package() {
  32.     cd "${pkgname}-${pkgver}"
  33.     make DESTDIR="${pkgdir}" install
  34.     install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
  35.     # Remove the cruft
  36.     #rm -f "${pkgdir}/usr/bin/dropbox"
  37.     #rm -rf "${pkgdir}/usr/share/applications"
  38.     #rm -rf "${pkgdir}/usr/share/icons"*
  39.     #rm -rf "${pkgdir}/usr/share/man/"*
  40. }
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