# $Id: PKGBUILD 68875 2010-02-14 18:21:11Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=mkinitcpio
pkgver=0.6.2
pkgrel=1
pkgdesc="Modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
groups=('base')
depends=('mkinitcpio-busybox' 'module-init-tools' 'util-linux-ng' 'gen-init-cpio' 'coreutils'
         'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=150' 'file' 'gzip'
         'which')
optdepends=('xz-utils: 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.archserver.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
backup=(etc/mkinitcpio.conf)
sha256sums=('f68b96130e044938aa11ae44e0cee980e90d480e078acc6124398a88e373431f')

build() {
  :
}

package() {
  cd $srcdir/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
