# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=afflib _pkgname=AFFLIBv3 pkgver=3.7.19 pkgrel=1 groups=('blackarch' 'blackarch-forensic') pkgdesc='An extensible open format for the storage of disk images and related forensic information.' arch=('any') url='https://github.com/sshock/AFFLIBv3' license=('custom:unknown') depends=('ncurses' 'zlib' 'openssl' 'curl' 'expat' 'readline' 'fuse2') makedepends=('make' 'gcc' 'ncurses' 'zlib' 'openssl' 'curl' 'expat' 'readline' 'fuse2') source=("https://github.com/sshock/AFFLIBv3/archive/v$pkgver.tar.gz") sha512sums=('6e0df7477bf7dbd3814099d94e3fce122e0cf9b714a425521b7458f4eedc6e8b8e7283fd37926b7c992cdf21d3adec620df29a79a6a5311bf1d1b5d4930768bc') build() { cd "$_pkgname-$pkgver" sh bootstrap.sh ./configure --prefix=/usr --sysconfdir=/etc --enable-fuse --enable-s3 make } package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }