aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcalcli/APKBUILD
blob: 43cb532a98798b850490006e75727c0cec5c25eb (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
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=gcalcli
pkgver=3.3
pkgrel=0
pkgdesc="Google Calendar Command Line Interface"
url="https://github.com/insanum/gcalcli"
arch="noarch"
license="MIT"
depends="python py-google-api-python-client py-dateutil py-gflags py-vobject"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

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

md5sums="7d4e194599054ed9777012e3c1b91116  gcalcli-3.3.tar.gz"
sha256sums="026bcdf69a2a6d6a49c6b3735357fba139a6a64f014643ba33ce7be776a6c50c  gcalcli-3.3.tar.gz"
sha512sums="2c4b93ca8e512f327ebbc2060784016305c4d5e66195f1d2888cb3464d851ce25c3e3606e84de90410e9d62a655c0c48191eafc7d163cac07b4802f3856a2f4f  gcalcli-3.3.tar.gz"