desktop/kwooty/PKGBUILD
2013-11-17 16:53:29 +00:00

32 lines
875 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kwooty
pkgver=1.1.0
pkgrel=1
pkgdesc="A friendly nzb usenet binary downloader."
arch=('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.')
categories=('network')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('b572b685c7f07af1a1c1f78b499c8830')
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
}