summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d1f310d991417a30b06cbd1442d9fa1941746e5 (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
#Maintainer: Robosky <fangyuhao0612@gmail.com>
# Contributor: wxg <wxg4net@gmail.com>

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

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

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