summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlad2015-07-08 15:44:10 +0300
committervlad2015-07-08 15:44:10 +0300
commita223b75bea629a4f5b9d58c2da33ac38208122d0 (patch)
tree8607c332561dd106034e85cc490416be76ab4544
downloadaur-a223b75bea629a4f5b9d58c2da33ac38208122d0.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD38
-rw-r--r--nautilus-dropbox.install16
3 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c24e577ba36
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = nautilus-dropbox
+ pkgdesc = Dropbox for Linux - Nautilus extension
+ pkgver = 2015.02.12
+ pkgrel = 1
+ url = https://www.dropbox.com/
+ install = nautilus-dropbox.install
+ arch = i686
+ arch = x86_64
+ license = custom:CC-BY-ND-3
+ license = GPL
+ makedepends = python2-docutils
+ makedepends = python2
+ makedepends = pygtk
+ makedepends = pkg-config
+ depends = libnotify
+ depends = nautilus
+ depends = dropbox
+ depends = hicolor-icon-theme
+ options = !libtool
+ options = !emptydirs
+ source = https://linux.dropbox.com/packages/nautilus-dropbox-2015.02.12.tar.bz2
+ md5sums = bac2adbfc3bbcf1bb1cb28dcc975a090
+
+pkgname = nautilus-dropbox
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..13fc634e13e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Christophe Gueret <christophe.gueret@gmail.com>
+# Contributor: josephgbr <rafael.f.f1@gmail.com>
+# Contributor: cmorlok <christianmorlok@web.de>
+# Contributor: fazibear <fazibear@gmail.com>
+# Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
+# Contributor: Gordin <9ordin @t gmail.com>
+
+pkgname=nautilus-dropbox
+pkgver=2015.02.12
+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=('bac2adbfc3bbcf1bb1cb28dcc975a090')
+
+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"
+}
diff --git a/nautilus-dropbox.install b/nautilus-dropbox.install
new file mode 100644
index 00000000000..c4f3ef9600b
--- /dev/null
+++ b/nautilus-dropbox.install
@@ -0,0 +1,16 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ cat <<-EndOfMessage
+
+==> Restart nautilus with 'nautilus -q'
+
+EndOfMessage
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}