24 lines
925 B
Bash
24 lines
925 B
Bash
# Template file for 'ntdsextract2'
|
|
pkgname=ntdsextract2
|
|
version=1.4.7
|
|
revision=1
|
|
_esedbver=0.2.5
|
|
build_wrksrc="${pkgname}-${version}"
|
|
build_style=cargo
|
|
short_desc="Display contents of Active Directory database files"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/janstarke/ntdsextract2"
|
|
distfiles="https://github.com/janstarke/ntdsextract2/archive/refs/tags/v${version}.tar.gz
|
|
https://github.com/sunsetkookaburra/rust-libesedb/archive/refs/tags/libesedb-v${_esedbver}.tar.gz"
|
|
checksum="7942eb345a0377c120600064538521dd0bc41adf15e6d7905541ee7f5ccfc546
|
|
30fce9b9766903280d3f6273e2f991b2296ccd3eed878262d1a68c7ceb76b658"
|
|
make_check=no # testing requires a large sample test file that isn't distributed
|
|
|
|
pre_configure() {
|
|
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
|
vsed -e "s/4096 \* 1024 \* 1024/usize::max_value()/" -i src/main.rs
|
|
fi
|
|
cargo generate-lockfile
|
|
}
|