summaryrefslogtreecommitdiffstats
path: root/abs/core/mkinitcpio/PKGBUILD
blob: 6ba0f0f618f36e2ee1550f6ddff6645378bbd5fa (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
31
# $Id: PKGBUILD 24393 2009-01-15 23:25:29Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=mkinitcpio
pkgver=0.5.21
pkgrel=34
pkgdesc="Advanced, modular initramfs image creation utility"
arch=(i686 x86_64)
url="http://www.archlinux.org/"
license=('GPL')
groups=('base')
depends=('klibc>=1.5.14-2' 'klibc-extras>=2.5' 'klibc-udev>=130'
         'gen-init-cpio' 'klibc-module-init-tools' 'coreutils'
         'bash' 'klibc-kbd' 'findutils' 'sed' 'grep'
         'filesystem>=2009.01' 'udev' 'gzip' 'fbsplash')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2 mkinitcpio.conf.diff)
backup=(etc/mkinitcpio.conf)
replaces=('mkinitrd' 'mkinitramfs')
md5sums=('d6673e8966d7c1f224c767d79434ed6b'
	 '288d1555e8499cd791b693945ba9b3b1')

build()
{
  cd $startdir/src/${pkgname}-${pkgver}
  patch -p0 < ../mkinitcpio.conf.diff
  ./install.sh $startdir/pkg
  mkdir -p $pkgdir/usr/share
  mv $pkgdir/usr/man $pkgdir/usr/share
}