aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcalcli/APKBUILD
blob: 7118a9ea5922401cbebf7273198eac36e6d85cd8 (plain) (blame)
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
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=gcalcli
_pkgname=gcalcli
pkgver=3.2
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="5deba37645e07bc59c51d76b92da0697  gcalcli-3.2.tar.gz"
sha256sums="1a4dda5f0871846c45a5864114724a423e33d5942f933d83c57467589246ac01  gcalcli-3.2.tar.gz"
sha512sums="4c3c3b78d8622a6c4481139410d8520b8a8d448d69f7d1c6337ec2739883a1015018aef3ebc70632544d0089bfbe8d57df2a004733fa47ae008ad547738e4b4c  gcalcli-3.2.tar.gz"