[ create a new paste ] login | about

Link: http://codepad.org/jExnbhUN    [ raw code | fork ]

Plain Text, pasted on Oct 4:
# Maintainer: Matthias Maennich < arch .at. maennich.net >

pkgname=dropbox-cli
pkgver=1
pkgrel=12
pkgdesc="Command line interface for dropbox"
arch=("i686" "x86_64")
url="http://www.dropbox.com"
license=('GPL')
depends=("python2" "dropbox")
makedepends=("patch")
source=("https://www.dropbox.com/download?dl=packages/dropbox.py" "arch.patch")
md5sums=('ea1f923523756c094c46a3387be0af38'
         'f48ce021cf70cdde419a57656133827a')

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

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



Create a new paste based on this one


Comments: