aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-14 21:17:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-15 11:26:40 +0000
commit20ab85f5ad64d363cb2dba6a80441d9e00e17f7c (patch)
tree08218479b366737dae09c6d2cad2e87814dc5e4a /main
parent80d68e376e931df7f643c9511ee8a8fb4a198fe3 (diff)
downloadaports-20ab85f5ad64d363cb2dba6a80441d9e00e17f7c.tar.bz2
aports-20ab85f5ad64d363cb2dba6a80441d9e00e17f7c.tar.xz
main/rtorrent: add check
Diffstat (limited to 'main')
-rw-r--r--main/rtorrent/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD
index 871fb616b4..c956046ccc 100644
--- a/main/rtorrent/APKBUILD
+++ b/main/rtorrent/APKBUILD
@@ -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