# Maintainer: Baptiste Jonglez # Contributor: Yann Lopez pkgname=babeld pkgver=1.8.0 pkgrel=1 pkgdesc="A loop-avoiding distance-vector routing protocol" arch=('i686' 'x86_64' 'mips64el') url="http://www.pps.univ-paris-diderot.fr/~jch/software/babel/" license=('MIT') depends=('glibc') optdepends=('ahcpd: for autoconfiguration of addresses and other informations') backup=('etc/babeld.conf') source=("http://www.pps.univ-paris-diderot.fr/~jch/software/files/$pkgname-$pkgver.tar.gz" "http://www.pps.univ-paris-diderot.fr/~jch/software/files/$pkgname-$pkgver.tar.gz.asc" "babeld.conf" "babeld.service") validpgpkeys=(F8E70AAD74D32CAC27B9AFD62652C881EADB5526) build() { cd "$srcdir/$pkgname-$pkgver" make PREFIX="/usr" CFLAGS="$CFLAGS" } package() { cd "$srcdir/$pkgname-$pkgver" make PREFIX="/usr" TARGET="$pkgdir" install install -Dm644 ../babeld.conf "${pkgdir}"/etc/babeld.conf install -Dm644 ../babeld.service "${pkgdir}"/usr/lib/systemd/system/babeld.service } sha512sums=('6665ea5108200fe9d158a221ee5697c35fa1bf1d59e99a354aabea844342505731d77c1e3dff3917d048c2154bbadcdda5904ad6e46f16c43f52b5c297480b7d' 'SKIP' '1232684447b4409d6e3813041f4ab1158faa844b5ac65441b5f299f1e353f48679aacbce9cc79e6714e9a3e1b17d2cfa4963c1388dba225ee342ea3cdb7f1194' '01e69d19a6176a6bf26ee703939c5bdea3f1245464ed5d3863dc5867a76b8b6a6fc7324912aee17458a0c6275ccdfa5abe63b88f7503c8d4dfd37d3f15f42700')