summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlad2015-07-08 15:44:47 +0300
committervlad2015-07-08 15:44:47 +0300
commite0f7cbad335dda24ef0365589d4359ec42f82d87 (patch)
tree9ceff79b6983091e94c493bbb0244b4bd9107a33
downloadaur-e0f7cbad335dda24ef0365589d4359ec42f82d87.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD40
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a7512168f5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = caja-dropbox
+ pkgdesc = Dropbox for Linux - Caja extension
+ pkgver = 1.8.0
+ pkgrel = 2
+ url = http://forums.dropbox.com/topic.php?id=21111
+ arch = i686
+ arch = x86_64
+ license = custom:CC-BY-ND-3
+ license = GPL
+ makedepends = mate-common
+ makedepends = python2-docutils
+ depends = caja
+ depends = glib2
+ depends = libnotify
+ depends = polkit
+ depends = procps
+ depends = pygtk
+ depends = xdg-utils
+ optdepends = dropbox: Dropbox support
+ options = !emptydirs
+ source = http://pub.mate-desktop.org/releases/1.8/caja-dropbox-1.8.0.tar.xz
+ sha1sums = 616ef634f2a5ba479dd2402d8527fcd5cf9950b0
+
+pkgname = caja-dropbox
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..65b8b49a3b4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=caja-dropbox
+pkgver=1.8.0
+pkgrel=2
+pkgdesc="Dropbox for Linux - Caja extension"
+url="http://forums.dropbox.com/topic.php?id=21111"
+arch=('i686' 'x86_64')
+license=('custom:CC-BY-ND-3' 'GPL')
+depends=('caja' 'glib2' 'libnotify' 'polkit' 'procps' 'pygtk' 'xdg-utils')
+makedepends=('mate-common' 'python2-docutils')
+optdepends=('dropbox: Dropbox support')
+options=('!emptydirs')
+source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('616ef634f2a5ba479dd2402d8527fcd5cf9950b0')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ autoreconf -fi
+ sed -i "s/python/python2/" configure.ac configure caja-dropbox.in Makefile.am Makefile.in rst2man.py
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+ # Remove the cruft
+ #rm -f "${pkgdir}/usr/bin/dropbox"
+ #rm -rf "${pkgdir}/usr/share/applications"
+ #rm -rf "${pkgdir}/usr/share/icons"*
+ #rm -rf "${pkgdir}/usr/share/man/"*
+}