mkinitcpio: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-28 18:20:28 +07:00
parent 2e01bc0dbf
commit f4ae50fbbb
1 changed files with 1 additions and 7 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'mkinitcpio'
pkgname=mkinitcpio
version=28
revision=1
archs=noarch
revision=2
build_style=gnu-makefile
depends="busybox-static bsdtar bash"
short_desc="Next generation of initramfs creation"
@ -30,7 +29,6 @@ post_install() {
mkinitcpio-udev_package() {
depends="${sourcepkg}>=${version}_${revision} eudev"
short_desc+=" - udev support"
archs=noarch
pkg_install() {
vinstall ${FILESDIR}/udev_hook 644 usr/lib/initcpio/hooks udev
vinstall ${FILESDIR}/udev_install 644 usr/lib/initcpio/install udev
@ -40,7 +38,6 @@ mkinitcpio-udev_package() {
mkinitcpio-lvm2_package() {
depends="${sourcepkg}>=${version}_${revision} lvm2 thin-provisioning-tools"
short_desc+=" - lvm2 support"
archs=noarch
pkg_install() {
vinstall ${FILESDIR}/lvm2_hook 644 usr/lib/initcpio/hooks lvm2
vinstall ${FILESDIR}/lvm2_install 644 usr/lib/initcpio/install lvm2
@ -54,7 +51,6 @@ mkinitcpio-encrypt_package() {
depends="${sourcepkg}>=${version}_${revision}
${sourcepkg}-lvm2>=${version}_${revision} cryptsetup"
short_desc+=" - encrypt support"
archs=noarch
pkg_install() {
vinstall ${FILESDIR}/encrypt_hook 644 usr/lib/initcpio/hooks encrypt
vinstall ${FILESDIR}/encrypt_install 644 usr/lib/initcpio/install encrypt
@ -64,7 +60,6 @@ mkinitcpio-encrypt_package() {
mkinitcpio-mdadm_package() {
depends="${sourcepkg}>=${version}_${revision} mdadm"
short_desc+=" - mdadm support"
archs=noarch
pkg_install() {
vinstall ${FILESDIR}/mdadm_hook 644 usr/lib/initcpio/hooks mdadm
vinstall ${FILESDIR}/mdadm_install 644 usr/lib/initcpio/install mdadm
@ -75,7 +70,6 @@ mkinitcpio-mdadm_package() {
mkinitcpio-xbps_package() {
depends="${sourcepkg}>=${version}_${revision} xbps"
short_desc+=" - xbps support"
archs=noarch
pkg_install() {
vinstall ${FILESDIR}/xbps_install 644 usr/lib/initcpio/install xbps
}