diff options
author | Your Name | 2016-12-08 00:03:09 -0500 |
---|---|---|
committer | Your Name | 2016-12-08 00:03:09 -0500 |
commit | e3ba9a4008bf606abf0adaa1f76e25a42dec70cf (patch) | |
tree | b80b799a2dfca1b97dbeec5791a1a567b8302666 /PKGBUILD | |
parent | 7a4f34a1481577b6f6151cc6a50f97de58398c16 (diff) | |
download | aur-e3ba9a4008bf606abf0adaa1f76e25a42dec70cf.tar.gz |
remove cppunit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -16,13 +16,18 @@ url='https://rakshasa.github.io/rtorrent' license=('GPL') arch=('i686' 'x86_64' 'armv7h') depends=('openssl') -makedepends=('git' 'cppunit') +makedepends=('git') conflicts=('libtorrent' 'libtorrent-git') provides=('libtorrent') install=libtorrent-pyro.install [[ $_debug = 'n' ]] && - _debug='--disable-debug' || options=(!strip) + _debug='--disable-debug' || +{ + _debug='--enable-extra-debug' + depends+=('cppunit') + options=(!strip) +} source=("git://github.com/rakshasa/libtorrent.git#branch=$_branch") md5sums=('SKIP') @@ -51,6 +56,14 @@ build() { make } +check() { + [[ ! $_debug = 'n' ]] && { + cd "$srcdir/libtorrent" + make check + } +} + + package() { make -C "$srcdir/libtorrent" DESTDIR="$pkgdir" install } |