#Maintainer: Christopher Rey P. Baluyut pkgname=qbittorrent pkgver=2.2.0 pkgrel=1 zenver=64 arch=i686 source=(http://nchc.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=(AUTHORS Changelog NEWS TODO COPYING INSTALL README) url="http://qbittorrent.sourceforge.net" doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "qBittorrent (a C++ / Qt4 Bittorrent Client)" "The qBittorrent project was created in March 2006 with the idea of" "developing a new Bittorrent client that would be easy to use, good" "looking, and featureful but lightweight." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --bindir=/usr/bin \ --datadir=/usr/share \ --qtdir=/usr/lib/qt || exit 1 make -j2 || exit 1 make INSTALL_ROOT=$startdir/pkg install || exit 1 }