1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=ubuntuone-client
5 pkgdesc="Ubuntu One helps you store, sync and share files. Sync your files, share your work with others or work remotely, all with your Ubuntu computer"
7 url="https://launchpad.net/ubuntuone-client"
9 depends=('python2-configglue' 'ubuntu-sso-client' 'python-notify' 'python2-pyinotify' 'python2-ubuntuone-storageprotocol' 'xdg-utils')
10 makedepends=('intltool' 'imake' 'gobject-introspection' 'vala')
12 install=$pkgname.install
13 source=(http://launchpad.net/ubuntuone-client/stable-3-0/$pkgver/+download/$pkgname-$pkgver.tar.gz
14 launchpad-export.tar.gz)
15 md5sums=('607edee0c51a9db7ee8ad92d3a0924e9'
16 '03756a686babcad6fe290f40058b7441')
19 cd "$srcdir/$pkgname-$pkgver"
20 sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
21 echo 'ar ast be bg bn bo bs ca ca@valencia ckb cy csb da de el en_AU en_GB eo es et eu fi fo fr ga gd gl gu he hi hr hu hy id is it ja jv ka ko ku ky lo lt lv ml ms my nb nds nl nn oc pa pl pt pt_BR ro ru sd si sk sl sr sv te th tr uk uz vi zh_CN zh_HK zh_TW' >po/LINGUAS
22 rename $pkgname- '' ../po/$pkgname-*.po
25 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir/" install
36 # We don't have Apport in Arch Linux
37 rm -r "$pkgdir"/{etc/apport,usr/share/apport}