# Maintainer: M.Reynolds # Contributor: Vlad M. # Contributor: Christophe Gueret # Contributor: josephgbr # Contributor: cmorlok # Contributor: fazibear # Contributor: neuromante # Contributor: Gordin <9ordin @t gmail.com> pkgname=nautilus-dropbox pkgver=2019.02.14 pkgrel=2 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=('python-docutils' 'python' 'pygtk' 'gdk-pixbuf2') options=('!libtool' '!emptydirs') source=("https://linux.dropbox.com/packages/$pkgname-$pkgver.tar.bz2") sha256sums=('ae0c4979f2cae9b86dfc7a645047efdacca4c8f70b603e284294795d083ecf27') 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" }