summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88f3fb7f30dbdf6782eccb143062f59725e233e8 (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
# Contributor: wxg <wxg4net@gmail.com>

pkgname=bcloud-git
pkgver=20150609
pkgrel=1
pkgdesc="Baidu Pan client for Linux Desktop users"
url="https://github.com/LiuLang/bcloud"
arch=('any')
license=('GPL3')
makedepends=('git')
depends=('python' 'python-keyring' 'python-urllib3' 'python-gobject'  'python-dbus'  'python-cssselect' 'python-lxml' 'python-crypto' 'webkitgtk' 'python-crypto' 'python-pyinotify')
source=("${pkgname}"::'git+https://github.com/LiuLang/bcloud.git')
md5sums=(SKIP)
conflicts=("bcloud")

pkgver() {
  cd  "$srcdir/$pkgname/"
  git log -1 --format="%cd" --date=short | sed 's|-||g'
}

package() {
  cd  "$srcdir/$pkgname/"
  python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}