mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
|
#
|
||
|
# 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
|
||
|
|
||
|
pkgname=mkinitcpio-testing
|
||
|
pkgver=0.6.6
|
||
|
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' 'mkinitcpio')
|
||
|
conflicts=('mkinitcpio')
|
||
|
provides=("mkinitcpio=${pkgver}")
|
||
|
source=(ftp://ftp.archlinux.org/other/mkinitcpio/mkinitcpio-${pkgver}.tar.gz)
|
||
|
backup=(etc/mkinitcpio.conf)
|
||
|
sha256sums=('2b638eb40cb3513742a2fec59f4903edfa1deab2c8c9b184121bae646345143c')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/mkinitcpio-${pkgver}
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|