diff options
author | Konstantin Shalygin | 2018-08-19 16:12:36 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2018-08-19 16:12:36 +0700 |
commit | 9c5f00d26d93e1162c2d15ca2f0b43caaa7abef3 (patch) | |
tree | 1afdc3f468102ecd8cf9584448074c5947711473 | |
parent | bcdc6b3e3ff1dcb5d5a8c030bfe801b08eeb7147 (diff) | |
download | aur-9c5f00d26d93e1162c2d15ca2f0b43caaa7abef3.tar.gz |
Enable tests.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 10 insertions, 6 deletions
@@ -1,21 +1,20 @@ # Generated by mksrcinfo v8 -# Thu Jul 5 08:22:00 UTC 2018 +# Sun Aug 19 09:12:22 UTC 2018 pkgbase = frr pkgdesc = FRRouting (quagga fork) supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP, NHRP and EIGRP. pkgver = 5.0.1 - pkgrel = 1 + pkgrel = 2 url = https://frrouting.org/ arch = any license = GPL2 makedepends = patch makedepends = gcc makedepends = net-snmp - makedepends = json-c makedepends = bison makedepends = c-ares makedepends = perl-xml-libxml - makedepends = rtrlib makedepends = python-sphinx + makedepends = python-pytest depends = libcap depends = libnl depends = readline @@ -3,13 +3,13 @@ pkgname='frr' pkgver='5.0.1' -pkgrel='1' +pkgrel='2' pkgdesc='FRRouting (quagga fork) supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP, NHRP and EIGRP.' arch=('any') url="https://frrouting.org/" license=('GPL2') depends=('libcap' 'libnl' 'readline' 'ncurses' 'perl' 'json-c' 'net-snmp' 'rtrlib') -makedepends=('patch' 'gcc' 'net-snmp' 'json-c' 'bison' 'c-ares' 'perl-xml-libxml' 'rtrlib' 'python-sphinx') +makedepends=('patch' 'gcc' 'net-snmp' 'bison' 'c-ares' 'perl-xml-libxml' 'python-sphinx' 'python-pytest') conflicts=('quagga' 'babeld' 'quagga_cumulus') provides=('quagga' 'quagga_cumulus') source=("https://github.com/FRRouting/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz" @@ -58,6 +58,11 @@ build() { make } +check() { + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" + make check +} + package() { cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install |