summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio/PKGBUILD
blob: 69be999aa6385df34d9d0dcffee296e92364f48d (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
# Maintainer: Thomas Bächler <thomas@archlinux.org>


pkgname=mkinitcpio
pkgver=0.7.2
pkgrel=8
pkgdesc="Modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
depends=('mkinitcpio-busybox>=1.16.1-2' 'mkinitcpio-nfs-utils=>0.2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils'
         'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=171-2' 'file' 'gzip'
         'which')
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')
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.patch)
backup=(etc/mkinitcpio.conf)

package() {
  cd $srcdir/${pkgname}-${pkgver}
  patch -p0 < $srcdir/mkinitcpio.conf.patch
  make DESTDIR="${pkgdir}" install
}

md5sums=('e11670a7d4802b2ef20cab4b3815168a'
         'b697144048288424b2380d044103ec34')