#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former Maintainer: Shador #Former Maintainer: Mauricio Tricoli pkgname=compiz-plugins-main pkgver=0.9.2.1 pkgrel=1 zenver=66 arch=i686 source=("http://releases.compiz.org/$pkgver/compiz-plugins-main-$pkgver.tar.gz") docs=("install" "copying" "authors" "news" "version") url="http://compiz-fusion.org" sourcetemplate="http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname" extradepends="compiz-core" CFLAGS="-O2 -march=i686 -mtune=i686" CXXFLAGS="-O2 -march=i686 -mtune=i686" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - main plugins for Compiz Fusion" "It contains the most popular plugins as well as add-ons to the more" "basic plugins that come with Compiz Core." "Several accessibility-oriented plugins for visually impaired users are" "available as well." "This package also contains plugins that provide essential" "functionality required by other plugins." ) 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 mkdir -p build cd build cmake \ -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ -DCMAKE_CXX_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ .. make || return 1 make install DESTDIR=$startdir/pkg }