1 # Maintainer: Dan Serban
2 # Contributors: insanum, Army, Thomas Zervogiannis
7 pkgdesc="Allows you to access your Google Calendar from a command line"
9 url=http://code.google.com/p/gcalcli/
11 depends=(python2-dateutil python-gdata)
16 rm gcalcli.tgz 2>/dev/null || true
17 _url=$(lynx -dump "http://code.google.com/p/gcalcli/downloads/list" | grep -o http.*tgz$ | head -1)
18 wget -O gcalcli.tgz "${_url}"
19 bsdtar -xf gcalcli.tgz
20 sed -i 's|https=False,|https=True,|g' gcalcli
21 install -Dm755 gcalcli "${pkgdir}"/usr/bin/gcalcli