Commit e9ac3d8c authored by AlmAck's avatar AlmAck

new chakra-live-initcpio and chakra-live-skel

parent b31b9dff
#
# Core Packages for Chakra, part of chakra-project.org
#
pkgname=chakra-live-initcpio
_gitname=chakra-iso
_gitsha=a6f30db
pkgver=1.0
pkgrel=1
pkgdesc="mkinitcpio hooks required for the live ISO"
arch=('x86_64')
url="http://www.chakraos.org/"
license=('GPL')
depends=('mkinitcpio')
source=("mkinitcpio.tar.gz")
install=chakra-live-initcpio.install
source=("$pkgname"::"git://gitorious.org/chakra/${_gitname}.git#commit=${_gitsha}")
md5sums=('SKIP')
package() {
cd ${srcdir}/${pkgname}/chakra-live-packages/chakra-live-initcpio/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
}
post_install() {
mkinitcpio -c /etc/mkinitcpio-live.conf -g /boot/chakraiso.img
}
# vim: set syntax=sh:
#
# Core Packages for Chakra, part of chakra-project.org
#
pkgname=chakra-live-skel
_gitname=chakra-iso
_gitsha=a6f30db
pkgver=1.0
pkgrel=1
pkgdesc="The inital user configuration of a Chakra system"
arch=('x86_64')
url="http://www.chakraos.org/"
license=('GPL')
source=("skel.tar.gz")
source=("$pkgname"::"git://gitorious.org/chakra/${_gitname}.git#commit=${_gitsha}")
md5sums=('SKIP')
package() {
cd ${srcdir}/${pkgname}/chakra-live-packages/chakra-live-skel/skel
for folder in ./*; do \
cp -a $folder ${pkgdir}; \
done
chmod 750 ${pkgdir}/etc/sudoers.d/
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment