mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 01:34:37 +08:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=mkinitcpio
|
|
pkgver=16
|
|
pkgrel=1
|
|
pkgdesc="Modular initramfs image creation utility"
|
|
arch=('x86_64')
|
|
url="http://www.archlinux.org/"
|
|
license=('GPL')
|
|
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.21' 'libarchive=3.1.2' 'coreutils'
|
|
'bash' 'findutils' 'grep' 'filesystem>=2011.10-1' 'file' 'gzip' 'systemd')
|
|
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'
|
|
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
|
|
backup=('etc/mkinitcpio.conf')
|
|
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
|
|
0001-Add-l-flag-when-using-lz4-compression.patch)
|
|
install=mkinitcpio.install
|
|
|
|
sha256sums=('10821e533eb1ca51a9d3c1d06d8999c08a6151910a9a6029a45ff1638e9228a2'
|
|
'SKIP'
|
|
'e8dd2d3fb29e6c41bed53be2f8659a7e5daeae3c9495d8527b6b938787c54703')
|
|
|
|
prepare() {
|
|
patch -d "$pkgname-$pkgver" -Np1 <"$srcdir/0001-Add-l-flag-when-using-lz4-compression.patch"
|
|
}
|
|
|
|
package() {
|
|
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
|
}
|