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')
14 source=(git+https://gitlab.archlinux.org/archlinux/arch-rebuild-order.git#tag=v$pkgver?signed)
16 validpgpkeys=("E499C79F53C96A54E572FEE1C06086337C50773E")
20 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
25 cargo build --frozen --release --all-features
30 cargo test --frozen --all-features
35 make install DESTDIR="$pkgdir" PREFIX=/usr
37 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"