desktop/kwooty/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 559d364000 Kwooty 1.0.1
2013-04-02 08:09:47 +00:00

32 lines
875 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kwooty
pkgver=1.0.1
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=('e50679030d6fb90bad46535f953d04f5')
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
}