blob: fc4b0c6c6594b7cf691211b31f64609b93175512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor (Arch): josephgbr <rafael.f.f1@gmail.com>
# Contributor (Arch): cmorlok <christianmorlok@web.de>
# Contributor (Arch): fazibear <fazibear@gmail.com>
# Contributor (Arch): neuromante <lorenzo.nizzi.grifi@gmail.com>
# Contributor (Arch): Gordin <9ordin @t gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aur�lien Desbri�res <aurelien@cwb.io>
pkgname=nautilus-dropbox
pkgver=1.4.0
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=('python2-docutils' 'python2' 'pygtk')
install=${pkgname}.install
options=('!libtool' '!emptydirs')
source=("https://linux.dropbox.com/packages/${pkgname}-${pkgver}.tar.bz2")
build() {
cd "${pkgname}-${pkgver}/"
sed "s/python/python2/" \
-i configure \
-i Makefile.am \
-i Makefile.in \
-i dropbox.in \
-i rst2man.py
# since python2-docutils, rst2man.py is named "rst2man2.py"
sed "s#rst2man.py#/usr/bin/rst2man2.py#" \
-i configure
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "${pkgname}-${pkgver}/"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/usr/bin/dropbox"
rm "${pkgdir}/usr/share/applications/dropbox.desktop"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|