mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
31 lines
1.2 KiB
Bash
31 lines
1.2 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.3
|
|
pkgrel=1
|
|
pkgdesc="Modular initramfs image creation utility"
|
|
arch=('any')
|
|
url="http://www.archlinux.org/"
|
|
license=('GPL')
|
|
depends=('mkinitcpio-busybox>=1.19.4' 'kmod>=5' 'util-linux>=2.21' 'libarchive' 'coreutils'
|
|
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-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')
|
|
backup=('etc/mkinitcpio.conf')
|
|
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('c2335f844c815724d50461ef11ce1aed')
|
|
sha256sums=('62ae10a0ec1bc147901187401620eb3d6b152df317a70c4f5b967e60ebb38daf')
|
|
|
|
package() {
|
|
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
|
|
|
# compat symlink
|
|
install -dm755 "$pkgdir/sbin"
|
|
ln -s /usr/bin/mkinitcpio "$pkgdir/sbin/mkinitcpio"
|
|
} |