desktop/kwooty/PKGBUILD

32 lines
875 B
Bash
Raw Normal View History

2011-07-14 19:22:57 +08:00
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=kwooty
pkgver=0.7.1
pkgrel=1
pkgdesc="A friendly nzb usenet binary downloader."
arch=('i686' 'x86_64')
url="http://kwooty.sourceforge.net/"
license=('GPL2')
depends=('kdebase-workspace>=4.2')
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
}