core/chakra-live/PKGBUILD
2012-03-26 23:22:44 +00:00

38 lines
1.1 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>
pkgbase=chakra-live
pkgname=('chakra-live')
pkgver=2012.03
pkgrel=1
arch=('any')
url="https://gitorious.org/chakra/chakra-live"
license=('GPL')
makedepends=('git')
pkgdesc="Chakra GNU/Linux livecd/liveusb generation scripts"
depends=('mkinitcpio>=0.8.2' 'mkinitcpio-nfs-utils' 'nbd' 'cdrkit' 'squashfs-tools' 'syslinux')
optdepends=('qemu: quickly test isos')
source=(http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz)
md5sums=('abde7bad340c3a820aad85947834f745')
# create tarball: source PKGBUILD && mksource
mksource() {
rm -vRf ${pkgname}
git clone git://gitorious.org/chakra/${pkgname}.git
rm -vRf ${pkgname}/.git
pushd ${pkgname}
popd
tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz ${pkgname}/*
md5sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz
}
package() {
cd ${srcdir}/${pkgbase}/chakra-iso
sed -ie s'~install -d -m 755 $(DESTDIR)/usr/share/chakraiso/~~'g Makefile
make DESTDIR="$pkgdir" install
}