#Packager: Frédéric Galusik <fredg~at~salixos~dot~org>

pkgname=icalendar
pkgver=2.1
pkgrel=3fg
#arch=noarch
source=(http://pypi.python.org/packages/source/i/$pkgname/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver
docs=("CHANGES.txt" "HISTORY.txt" "LICENSE.txt" "TODO.txt" "CREDITS.txt" "INSTALL.txt" "README.txt")
url=http://pypi.python.org/pypi/icalendar

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"icalendar (iCalendar python parser/generator)"
"iCalendar is a parser/generator of iCalendar files (RFC 2445)"
"for use with Python."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	python setup.py install --prefix=/usr --root=$startdir/pkg
}