Commit 20ab85f5 authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa

main/rtorrent: add check

parent 80d68e37
......@@ -5,12 +5,13 @@
pkgname=rtorrent
pkgver=0.9.7
pkgrel=0
pkgrel=1
pkgdesc="Ncurses BitTorrent client based on libTorrent"
url="http://rakshasa.github.io/rtorrent/"
license="GPL"
arch="all"
makedepends="libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev"
checkdepends="cppunit-dev"
subpackages="$pkgname-doc"
source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -30,6 +31,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment