1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
3 pkgname=arch-rebuild-order
6 pkgdesc='CLI tool to determine the rebuild order of provided package(s)'
7 url='https://gitlab.archlinux.org/archlinux/arch-rebuild-order'
10 depends=('glibc' 'libalpm.so')
11 makedepends=('cargo' 'mandown' 'git')
12 groups=('archlinux-tools')
13 source=(git+https://gitlab.archlinux.org/archlinux/arch-rebuild-order.git#tag=v$pkgver?signed)
15 validpgpkeys=("E499C79F53C96A54E572FEE1C06086337C50773E")
19 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
24 cargo build --frozen --release --all-features
29 cargo test --frozen --all-features
34 make install DESTDIR="$pkgdir" PREFIX=/usr
36 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"