#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=configobj pkgver=4.7.2 zenver=72 pkgrel=1 arch=noarch source=("http://downloads.sourceforge.net/project/configobj/configobj-$pkgver.zip") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("license*" "index*") url=http://code.google.com/p/configobj/ options=('noautodotnew') extradepends=("python") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "configobj (A python module for handling of configuration files)" "ConfigObj is a simple but powerful config file reader and writer:" "an ini file round tripper. Its main feature is that it is very easy" "to use, with a straightforward programmer's interface and a simple" "syntax for config files." ) build() { unzip $startdir/src/$pkgname-$pkgver.zip cd $startdir/src/$pkgname-$pkgver python setup.py install --root=$startdir/pkg --prefix=/usr # copy doc files mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp $startdir/src/$pkgname-$pkgver/docs/* $startdir/pkg/usr/doc/$pkgname-$pkgver }