desktop/kwooty/PKGBUILD
2011-08-07 16:30:57 +00:00

32 lines
866 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kwooty
pkgver=0.7.1
pkgrel=2
pkgdesc="A friendly nzb usenet binary downloader."
arch=('i686' 'x86_64')
url="http://kwooty.sourceforge.net/"
license=('GPL2')
depends=('kde-workspace')
makedepends=('cmake' 'automoc4')
optdepends=('unrar: automatic RAR-archive extraction.'
'p7zip: automatic zip and 7z archive extraction.'
'par2cmdline: automatic file repairing.')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('4a27f2d91f339876afbac8f825f48950')
build() {
cd $srcdir/$pkgname-$pkgver
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}