mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 19:24:37 +08:00
33 lines
866 B
Bash
33 lines
866 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=chakra-live-initcpio
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="mkinitcpio hooks required for the live ISO"
|
|
arch=('x86_64')
|
|
url="http://www.archlinux.org/"
|
|
license=('GPL')
|
|
depends=('mkinitcpio')
|
|
source=("mkinitcpio.tar.gz")
|
|
install=chakra-live-initcpio.install
|
|
md5sums=('d500f8de8be0817f5d2a98cbd1dd7e4d')
|
|
|
|
package() {
|
|
cd ${srcdir}/mkinitcpio
|
|
install -Dm 644 mkinitcpio.conf ${pkgdir}/etc/mkinitcpio-live.conf
|
|
msg "Installing hooks..."
|
|
install -Dm 755 -d ${pkgdir}/usr/lib/initcpio/hooks
|
|
for f in ./hooks/*; do \
|
|
echo $f
|
|
install -Dm 644 -t ${pkgdir}/usr/lib/initcpio/hooks $f; \
|
|
done
|
|
msg "Installing install files..."
|
|
install -Dm 755 -d ${pkgdir}/usr/lib/initcpio/install
|
|
for f in ./install/*; do \
|
|
echo $f
|
|
install -Dm 644 -t ${pkgdir}/usr/lib/initcpio/install $f; \
|
|
done
|
|
}
|