#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former Maintainer: Shador #Former Maintainer: Mauricio Tricoli pkgname=compizconfig-python pkgver=0.9.2.1 pkgrel=1 zenver=66 arch=i686 source=("http://releases.compiz.org/$pkgver/compizconfig-python-$pkgver.tar.bz2") docs=("install" "copying" "version") url="http://compiz-fusion.org" sourcetemplate="http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname" extradepends="Cython,compiz-core,pyrex" CFLAGS="-O2 -march=i686 -mtune=i686" CXXFLAGS="-O2 -march=i686 -mtune=i686" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Compiz configuration system bindings" ) build() { threadcount=$(($(sed -ne '/cpu cores/h;${g;s/[^0-9]*//p}' \ < /proc/cpuinfo)*2)) if [ $threadcount -lt 2 ]; then threadcount=2 elif [ $threadcount -gt 8 ]; then threadcount=8 fi cd $startdir/src/$pkgname-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg }