# Maintainer: Vlad M. # Contributor: Christophe Gueret # Contributor: josephgbr # Contributor: cmorlok # Contributor: fazibear # Contributor: neuromante # Contributor: Gordin <9ordin @t gmail.com> pkgname=nautilus-dropbox pkgver=2015.10.28 pkgrel=1 pkgdesc="Dropbox for Linux - Nautilus extension" arch=('i686' 'x86_64') url="https://www.dropbox.com/" license=('custom:CC-BY-ND-3' 'GPL') depends=('libnotify' 'nautilus' 'dropbox' 'hicolor-icon-theme') makedepends=('python2-docutils' 'python2' 'pygtk' 'pkg-config') install=$pkgname.install options=('!libtool' '!emptydirs') source=("https://linux.dropbox.com/packages/$pkgname-$pkgver.tar.bz2") md5sums=('d1d0832b4af2998ad7094bdfe1f5c300') build() { cd "$pkgname-$pkgver" sed -i "s/python/python2/" configure dropbox.in Makefile.in rst2man.py ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install # install the common license install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" # remove executables and depend on 'dropbox' package rm "$pkgdir/usr/bin/dropbox" rm "$pkgdir/usr/share/applications/dropbox.desktop" rm "$pkgdir/usr/share/man/man1/dropbox.1" }