2021-02-19 03:03:40 +00:00
|
|
|
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
|
|
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
|
|
|
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2021-02-20 17:19:54 +00:00
|
|
|
# - swap zstd for gzip in depends, remove gzip optdepend
|
|
|
|
# - patch to revert back to gzip for default compression
|
2021-02-19 03:03:40 +00:00
|
|
|
|
|
|
|
pkgname=mkinitcpio
|
2021-12-01 00:32:50 +00:00
|
|
|
pkgver=31
|
|
|
|
pkgrel=1
|
2021-02-19 03:03:40 +00:00
|
|
|
pkgdesc="Modular initramfs image creation utility"
|
|
|
|
arch=('any')
|
2021-07-15 12:27:50 +00:00
|
|
|
url='https://github.com/archlinux/mkinitcpio'
|
2021-02-19 03:03:40 +00:00
|
|
|
license=('GPL')
|
|
|
|
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
|
|
|
|
'bash' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'gzip' 'systemd')
|
2021-02-20 17:19:54 +00:00
|
|
|
makedepends=('asciidoc')
|
2021-02-19 03:03:40 +00:00
|
|
|
optdepends=('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')
|
|
|
|
provides=('initramfs')
|
|
|
|
backup=('etc/mkinitcpio.conf')
|
2021-02-20 17:19:54 +00:00
|
|
|
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
|
|
|
|
'0001-use-gzip-for-compression-by-default.patch')
|
2021-02-19 03:03:40 +00:00
|
|
|
install=mkinitcpio.install
|
2021-12-01 00:32:50 +00:00
|
|
|
sha512sums=('4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5'
|
2021-02-20 17:19:54 +00:00
|
|
|
'SKIP'
|
2021-12-01 00:32:50 +00:00
|
|
|
'692222c01112b30e2d0a0d48265d481617349074bee968c6dca4926bc4ef6501847a79bd7de403ee10ee2e77a7dcc0422ed49a607fe3e96a4d523e2e569724ad')
|
|
|
|
b2sums=('0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf'
|
2021-02-20 17:19:54 +00:00
|
|
|
'SKIP'
|
2021-12-01 00:32:50 +00:00
|
|
|
'3373b576de3e6fc9d728637f33d7c813bdff20925dc266cab570aea9978927f2d039aa3f8a509b48dcb1c37fd64c65983a1de23db288befdf1005c08dab0f664')
|
|
|
|
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
|
2021-02-19 03:03:40 +00:00
|
|
|
|
2021-02-20 17:19:54 +00:00
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
patch -p1 -i ../0001-use-gzip-for-compression-by-default.patch
|
|
|
|
}
|
2021-02-19 03:03:40 +00:00
|
|
|
|
|
|
|
check() {
|
|
|
|
make -C "$pkgname-$pkgver" check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
|
|
|
}
|