main/rtorrent: add check

This commit is contained in:
Roberto Oliveira 2018-06-14 21:17:52 +00:00 committed by Natanael Copa
parent 80d68e376e
commit 20ab85f5ad

View File

@ -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