1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 # Maintainer: Morten Linderud <foxboron@archlinux.org>
3 # Contributor: Dave Reisner <dreisner@archlinux.org>
4 # Contributor: Thomas Bächler <thomas@archlinux.org>
9 pkgdesc="Modular initramfs image creation utility"
11 url='https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio'
13 depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
14 'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'zstd' 'systemd')
15 checkdepends=('bash-bats' 'bash-bats-assert' 'lzop')
16 optdepends=('gzip: Use gzip compression for the initramfs image'
17 'xz: Use lzma or xz compression for the initramfs image'
18 'bzip2: Use bzip2 compression for the initramfs image'
19 'lzop: Use lzo compression for the initramfs image'
20 'lz4: Use lz4 compression for the initramfs image'
21 'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
22 provides=('initramfs')
23 backup=('etc/mkinitcpio.conf')
24 source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
25 install=mkinitcpio.install
26 sha512sums=('9ca8544bc5de3d215bf94ecf9a3bfb9265c9ed9871357af4b597a37e94c6951935641c11558470aaa934e8fbe9bc1f875dfa9d0fe8734a97f90154c9cbabfdba'
28 b2sums=('e7d56ea1de8d21271d4e94a61563af9c5f33320a46ce9f006092bb70e2161be02791dfd75b14e9c9b5ad2fbb781617f04b4e49afa93a707785c23773c1a48664'
30 validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
31 'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud
34 make -C "$pkgname-$pkgver" check
38 make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install