Added mkinitcpio template from Arch linux.
--HG-- extra : convert_revision : 74556fa4099e68b7fe00a8b72034312689126431
This commit is contained in:
parent
6d8d778405
commit
17c2099ca9
1 changed files with 25 additions and 0 deletions
25
templates/mkinitcpio.tmpl
Normal file
25
templates/mkinitcpio.tmpl
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'mkinitcpio'
|
||||||
|
pkgname=mkinitcpio
|
||||||
|
version=0.5.9
|
||||||
|
wrksrc=$pkgname
|
||||||
|
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
build_style=custom-install
|
||||||
|
short_desc="Advanced, modular initramfs image creation utility"
|
||||||
|
maintainer="Juan RP <xtraemegmail.com>"
|
||||||
|
checksum=772e3d92bfa1754b74a95c76a4f66bb6f94915212da2e7e7878764676ef8467c
|
||||||
|
long_desc="
|
||||||
|
mkinitcpio is an advanced, modular initramfs image creation utility.
|
||||||
|
mkinitcpio was created for Archlinux."
|
||||||
|
|
||||||
|
# Other deps are resolved by xbps-base-chroot.
|
||||||
|
build_depends="klibc-1.5.14"
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
# mkinitcpio doesn't work with dash, uses bash specific stuff
|
||||||
|
# even if the file mentions justs the contrary...
|
||||||
|
. $XBPS_TMPLHELPDIR/replace-interpreter.sh
|
||||||
|
replace_interpreter bash mkinitcpio
|
||||||
|
|
||||||
|
cd $wrksrc && ./install.sh $XBPS_DESTDIR/$pkgname-$version
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue