#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=configobj
pkgver=4.7.2
pkgrel=1gv
source=(http://www.voidspace.org.uk/downloads/configobj-$pkgver.zip)
url=http://www.voidspace.org.uk/python/configobj.html

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"configobj (a simple but powerful config file reader and writer)"
"ConfigObj is a powerful and flexible configuration file parser"
"suitable for any configuration needs. Its main feature is that it is"
"very easy to use, with a straightforward programmer's interface and a"
"simple syntax for config files. It has lots of other features though."
)

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

	mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
	cp docs/* $startdir/pkg/usr/doc/$pkgname-$pkgver/
}