PKGBUILDs/core/mkinitcpio/PKGBUILD

33 lines
1.2 KiB
Bash

# $Id: PKGBUILD 46657 2009-07-19 14:19:32Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# arm Maintainer: Philipp Scholl <pscholl@bawue.de>
pkgname=mkinitcpio
pkgver=0.5.25
pkgrel=1
pkgdesc="Advanced, modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
groups=('base')
depends=('klibc>=1.5.15-3' 'klibc-extras>=2.5-4' 'klibc-udev>=141'
'gen-init-cpio' 'klibc-module-init-tools>=3.5-3' 'coreutils'
'bash' 'klibc-kbd>=1.15.20080312-10' 'findutils' 'sed' 'grep'
'filesystem>=2009.01-2' 'udev>=141-3' 'file' 'gzip')
optdepends=('xz-utils: Use lzma compression for the initramfs image'
'bzip2: Use bzip2 compression for the initramfs image')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
backup=(etc/mkinitcpio.conf)
replaces=('mkinitrd' 'mkinitramfs')
md5sums=('be0c77c23d2eb46b79b856432a82b2a8')
build()
{
cd $srcdir/${pkgname}-${pkgver}
./install.sh $pkgdir || return 1
mkdir -p $pkgdir/usr/share
mv $pkgdir/usr/man $pkgdir/usr/share
}