summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mkinitcpio/PKGBUILD
blob: 9a87e4230feebb692f7451ced7df8bba9d4e6711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $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')