aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-vobject/APKBUILD
blob: 6eca455c7011c7e86f569ef1e7b2ba9de31ab693 (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=py-vobject
_pkgname=vobject
pkgver=0.8.1c
pkgrel=0
pkgdesc="Module for parsing and generating vCard and vCalendar files"
url="http://vobject.skyhouseconsulting.com"
arch="noarch"
license="Apache"
depends="python py-dateutil py-icu"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="http://vobject.skyhouseconsulting.com/${_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="c9686dd74d39fdae140890d9c694c076  vobject-0.8.1c.tar.gz"
sha256sums="594113117f2017ed837c8f3ce727616f9053baa5a5463a7420c8249b8fc556f5  vobject-0.8.1c.tar.gz"
sha512sums="3c7071e040172c8ef9e93bb818fb3c5f04912322adaaf56794b00005ff1ee787d54ad6860835be4fb123fa4215c104e1cbc4031dcdab53e96f7dbed771c0fa79  vobject-0.8.1c.tar.gz"