# # Core Packages for Chakra, part of chakra-project.org # pkgname=mkinitcpio pkgver=17 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}) install=mkinitcpio.install sha256sums=('904821a027fdda26bb7150887680f3b751351ff37dc5e409dcb839e4733906ce' 'SKIP') prepare() { sed -i 's/HOOKS="base udev autodetect modconf block filesystems keyboard fsck"/HOOKS="base udev autodetect resume keymap modconf block filesystems keyboard fsck"/g' "${srcdir}"/${pkgname}-${pkgver}/mkinitcpio.conf } package() { make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install }