blob: aae629b2fdb812e68eed65a00fab001312350541 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Brett Cornwall <ainola@archlinux.org>
# Contributor: polyzen
# Contributor: Army
# Contributor: Dan Serban
# Contributor: insanum
# Contributor: Thomas Zervogiannis
pkgname=gcalcli
pkgver=4.5.0
pkgrel=1
pkgdesc='Google calendar command line interface'
arch=('any')
url=https://github.com/insanum/gcalcli
license=('MIT')
makedepends=('python-setuptools')
depends=(
'python-argcomplete'
'python-dateutil'
'python-google-api-core'
'python-google-api-python-client'
'python-google-auth-oauthlib'
'python-httplib2'
'python-parsedatetime'
'python-truststore'
)
optdepends=(
'python-vobject: for ics/vcal importing'
)
source=("gcalcli-$pkgver.tar.gz::https://github.com/insanum/gcalcli/archive/v$pkgver.tar.gz")
sha256sums=('db906fde41236a5563af58d359f5b35ba586a4ad4c6cf2646dd6ba976857c1e3')
build() {
cd "gcalcli-$pkgver"
python setup.py build
}
# Disabled because it downloads deps via pip. Report this upstream (if
# they're still alive).
#
# check() {
# cd "gcalcli-$pkgver"
# python setup.py test
# }
package() {
cd "gcalcli-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 docs/*.{md,png} -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|