# $Id: PKGBUILD 85253 2010-07-11 10:05:21Z thomas $ # Maintainer: Thomas Baechler <thomas@archlinux.org> # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Maintainer: Aaron Griffin <aaron@archlinux.org> pkgname=mkinitcpio pkgver=0.6.7 pkgrel=1 pkgdesc="Modular initramfs image creation utility" arch=(any) url="http://www.archlinux.org/" license=('GPL') depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux-ng>=2.17' 'gen-init-cpio' 'coreutils' 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=150' 'file' 'gzip' 'which') optdepends=('xz: Use lzma compression for the initramfs image' 'bzip2: Use bzip2 compression for the initramfs image' 'mkinitcpio-nfs-utils: Support for root filesystem on NFS') replaces=('mkinitrd' 'mkinitramfs' 'klibc' 'klibc-extras' 'klibc-kbd' 'klibc-module-init-tools' 'klibc-udev') source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz mkinitcpio.conf.diff) backup=(etc/mkinitcpio.conf) package() { cd $srcdir/${pkgname}-${pkgver} patch -p0 < ../mkinitcpio.conf.diff make DESTDIR="${pkgdir}" install } sha256sums=('8d34bfa9c8018f02ee938ac68285e3aa16a1ad84ddc0433998e2d43a428cdcbd' '1cc748bb291513e8202ad05f638def4ce9e48bf7d509061ba9c1f9ede3920454')