blob: 1f49d6741b8998491670ac841371992c28a56619 (
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
|
# Maintainer: Oliver Gasser <oliver@flowriver.net>
pkgname=bgpkit-parser
pkgver=0.10.11
pkgrel=1
pkgdesc="bgpkit-parser is a simple cli tool that allow parsing of individual MRT files"
arch=('x86_64')
url="https://github.com/bgpkit/bgpkit-parser"
license=('MIT')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/bgpkit/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('0a337a22cd94a85857f59edf8adf62d21129cb357438583dcd6cd30668a33943e622c62365883ee03271443a876ff170de9db56787371f65199bf8c5611a9fae')
# Disable buildflags in /etc/makepkg.conf to ensure build success
options=('!buildflags')
prepare() {
cd "$pkgname-$pkgver"
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
package() {
cd "$pkgname-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo install --no-track --frozen --offline --all-features --root "$pkgdir/usr/" --path .
}
|