summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5507439135d26db394a4a53c57d250b8745c3e7 (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
# Maintainer: Joel Teichroeb <joel@teichroeb.net>
# Contributor: Matthias Maennich < arch .at. maennich.net >
# Contributor: bruce < b_a_g99 .at. hotmail.com >
# Contributor: carstene1ns <arch carsten-teibes de>

pkgname=dropbox-cli
pkgver=2.10.0
pkgrel=4
pkgdesc='Command line interface for dropbox'
arch=('any')
url='http://www.dropbox.com'
license=('GPL')
install='dropbox-cli.install'
depends=('python2' 'dropbox')
makedepends=("patch")
source=("https://linux.dropbox.com/packages/dropbox.py"
        "$pkgname-arch.patch")
md5sums=('50c2aefa89822bafd5f67d3678843dc3'
         '0cb7114774490c31e7cc10f86692ac70')

build(){
    mkdir -p "$srcdir/build"
    cp -L "$srcdir/dropbox.py" "$srcdir/build/"
    cd "$srcdir/build"
    patch -i "$srcdir/$pkgname-arch.patch"
}

package() {
    install -D -m 755 "$srcdir/build/dropbox.py" "$pkgdir/usr/bin/dropbox-cli"
}