desktop/kwooty/PKGBUILD
2011-12-07 22:23:24 +00:00

31 lines
846 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kwooty
pkgver=0.7.3
pkgrel=1
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.')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('68a1f1c1dd14b0b7b02c4ddbbe6d0075')
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
}