core/chakra-live/PKGBUILD

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>
pkgname=chakra-live
pkgver=2011.04
pkgrel=0.20110623.1
pkgdesc="Chakra GNU/Linux livecd/liveusb generation scripts"
arch=('any')
url="https://gitorious.org/chakra/chakra-live"
license=('GPL')
depends=('mkinitcpio' 'mkinitcpio-nfs-utils' 'nbd' 'cdrkit' 'squashfs-tools' 'syslinux')
optdepends=('qemu: quickly test isos')
makedepends=('git')
provides=()
conflicts=()
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz)
md5sums=(0522ada174268459fbeaec4ddf8466b6)
# 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}/${pkgname}/chakra-iso
make DESTDIR="$pkgdir" install
}