# Maintainer: Christian Hesse # Maintainer: nl6720 # Contributor: Giancarlo Razzolini ([core] package) # Contributor: Morten Linderud ([core] package) # Contributor: Dave Reisner ([core] package) # Contributor: Thomas Bächler ([core] package) pkgname=mkinitcpio-git pkgver=33.r24.g10368eb pkgrel=1 pkgdesc='Modular initramfs image creation utility - git checkout' arch=('any') url='https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio' license=('GPL') depends=('awk' 'mkinitcpio-busybox' 'kmod' 'util-linux' 'libarchive' 'coreutils' 'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem' 'zstd' 'systemd') optdepends=('gzip: Use gzip compression for the initramfs image' 'xz: Use lzma or xz compression for the initramfs image' 'bzip2: Use bzip2 compression for the initramfs image' 'lzop: Use lzo compression for the initramfs image' 'lz4: Use lz4 compression for the initramfs image' 'mkinitcpio-nfs-utils: Support for root filesystem on NFS') makedepends=('git' 'asciidoc') provides=('initramfs' "mkinitcpio=${pkgver}") conflicts=('mkinitcpio') backup=('etc/mkinitcpio.conf') source=('git+https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio.git?signed' 'https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/merge_requests/159.patch') sha256sums=('SKIP' 'cf7153cef52e3d57977609381b517dc677514c8190f1a1a08a4b4e720ea028c9') validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini 'C100346676634E80C940FB9E9C02FF419FECBE16' # Morten Linderud 'BB8E6F1B81CF0BB301D74D1CBF425A01E68B38EF') # nl6720 prepare() { cd mkinitcpio/ patch -Np1 -i ../159.patch } pkgver() { cd mkinitcpio/ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd mkinitcpio/ make DESTDIR="${pkgdir}" install }