core/mkinitcpio/PKGBUILD

32 lines
1.2 KiB
Bash
Raw Normal View History

2010-07-01 03:56:56 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-03-13 23:25:19 +08:00
pkgname=mkinitcpio
2010-07-22 07:25:44 +08:00
pkgver=0.6.7
2010-04-04 22:20:41 +08:00
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="Modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
2010-07-01 03:56:56 +08:00
depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux-ng>=2.17' 'gen-init-cpio' 'coreutils'
2010-03-13 23:25:19 +08:00
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=150' 'file' 'gzip'
'which')
2010-07-01 03:56:56 +08:00
optdepends=('xz: Use lzma compression for the initramfs image'
2010-03-13 23:25:19 +08:00
'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')
2010-07-22 07:25:44 +08:00
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
2010-03-13 23:25:19 +08:00
backup=(etc/mkinitcpio.conf)
2010-07-22 07:25:44 +08:00
sha256sums=('8d34bfa9c8018f02ee938ac68285e3aa16a1ad84ddc0433998e2d43a428cdcbd')
2010-03-13 23:25:19 +08:00
build() {
2010-07-22 07:25:44 +08:00
cd $srcdir/${pkgname}-${pkgver}
2010-03-13 23:25:19 +08:00
make DESTDIR="${pkgdir}" install
2010-07-22 07:25:44 +08:00
}