mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 09:50:24 +08:00
32 lines
1.3 KiB
Bash
32 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>
|
|
|
|
pkgname=mkinitcpio
|
|
pkgver=0.8.1
|
|
pkgrel=1
|
|
pkgdesc="Modular initramfs image creation utility"
|
|
arch=('any')
|
|
url="http://www.archlinux.org/"
|
|
license=('GPL')
|
|
depends=('mkinitcpio-busybox>=1.16.1-2' 'kmod>=3' 'util-linux>=2.19' 'libarchive' 'coreutils'
|
|
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'udev>=174-1' 'file' 'gzip')
|
|
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')
|
|
backup=(etc/mkinitcpio.conf)
|
|
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
sha256sums=('09b209bb4a759580b33001e5f3aca0228b285f0ffe1ef43192ce98f5ce995350')
|
|
|
|
package() {
|
|
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
|
|
|
# compat symlink
|
|
install -dm755 "$pkgdir/sbin"
|
|
ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
|
|
} |