mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
48 lines
2.1 KiB
Bash
48 lines
2.1 KiB
Bash
# 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>
|
|
# - swap zstd for gzip in depends, remove gzip optdepend
|
|
# - patch to revert back to gzip for default compression
|
|
|
|
pkgname=mkinitcpio
|
|
pkgver=31
|
|
pkgrel=2
|
|
pkgdesc="Modular initramfs image creation utility"
|
|
arch=('any')
|
|
url='https://github.com/archlinux/mkinitcpio'
|
|
license=('GPL')
|
|
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
|
|
'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'gzip' 'systemd')
|
|
makedepends=('asciidoc')
|
|
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')
|
|
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
|
|
'0001-use-gzip-for-compression-by-default.patch')
|
|
install=mkinitcpio.install
|
|
sha512sums=('4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5'
|
|
'SKIP'
|
|
'692222c01112b30e2d0a0d48265d481617349074bee968c6dca4926bc4ef6501847a79bd7de403ee10ee2e77a7dcc0422ed49a607fe3e96a4d523e2e569724ad')
|
|
b2sums=('0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf'
|
|
'SKIP'
|
|
'3373b576de3e6fc9d728637f33d7c813bdff20925dc266cab570aea9978927f2d039aa3f8a509b48dcb1c37fd64c65983a1de23db288befdf1005c08dab0f664')
|
|
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
patch -p1 -i ../0001-use-gzip-for-compression-by-default.patch
|
|
}
|
|
|
|
check() {
|
|
make -C "$pkgname-$pkgver" check
|
|
}
|
|
|
|
package() {
|
|
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
|
}
|