blob: 89cfd440b758433c52709e7540d03ab874bd2e01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Sasha Romijn <arch at mxsasha.eu>
pkgname=bgpq4
pkgver=1.12
pkgrel=1
pkgdesc="BGP filtering automation tool based on IRR data"
arch=('x86_64' 'aarch64')
url="https://github.com/bgp/bgpq4"
license=('BSD')
source=("${pkgver}.tar.gz::https://github.com/bgp/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('501714dca3aa7f27f0f56c581c5d82fb1b609f5bad1254b453517f821ef99e673a0a118c6b2aa6e2430167fe322656d2e20ead9a09ec834709e586d07ec8abbc')
depends=('glibc')
makedepends=('python-markdown')
build() {
cd "$pkgname-$pkgver"
autoreconf --install .
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin"
make prefix="$pkgdir/usr" install
install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 README.md "${pkgdir}/usr/share/doc/$pkgname/README.md"
}
|