# Maintainer: Adrián Chaves Fernández (Gallaecio) pkgname=kwooty pkgver=1.1.0 pkgrel=2 pkgdesc="A friendly nzb usenet binary downloader." arch=('x86_64') url="http://kde-apps.org/content/show.php/Kwooty?content=114385" license=('GPL2') depends=('kde-runtime' 'libkworkspace4') makedepends=('cmake' 'automoc4' 'kde-workspace') optdepends=('unrar: automatic RAR-archive extraction.' 'p7zip: automatic zip and 7z archive extraction.' 'par2cmdline: automatic file repairing.') categories=('network') source=("http://kde-apps.org/CONTENT/content-files/114385-$pkgname-$pkgver.tar.gz") md5sums=('b572b685c7f07af1a1c1f78b499c8830') install=${pkgname}.install build() { cd $srcdir/$pkgname-$pkgver cd build cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \ -DCMAKE_BUILD_TYPE=Release \ .. make } package() { cd $srcdir/$pkgname-$pkgver/build make DESTDIR=$pkgdir install }