blob: 1b8a861cf01501ce328d48012b3f1cd654b76f2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Marcel Röthke <marcel.roethke@haw-hamburg.de>
pkgname=exabgp
pkgver=4.2.22
pkgrel=1
pkgdesc="The BGP swiss army knife of networking"
url="https://github.com/Exa-Networks/exabgp"
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
arch=('any')
source=("exabgp-${pkgver}.tar.gz::https://github.com/Exa-Networks/exabgp/archive/${pkgver}.tar.gz")
sha256sums=('d5e3aaddb6445b430ee640272e4598be01d7ae132e1e76a201321c20d6d2d86b')
package() {
cd "$srcdir/exabgp-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -m 755 -d "${pkgdir}/usr/lib/systemd/system"
install -m 644 etc/systemd/exabgp.service "${pkgdir}/usr/lib/systemd/system/exabgp.service"
install -D -m644 LICENCE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|