core/tools-pkg-cbundle/PKGBUILD

39 lines
1.0 KiB
Bash
Raw Normal View History

# 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>
# (c) 2010 Drake Justice
pkgname=cbundle
pkgver=0.3.52
pkgrel=1
depends=('squashfs-tools' 'fakechroot' 'unionfs-fuse')
makedepends=('qt')
pkgdesc="A shared library for using Chakra software bundles"
arch=("i686" "x86_64")
license=('GPL')
url="http://chakra-project.org/"
source=(http://chakra-project.org/sources/cinstall/cbundle-$pkgver.tar.xz)
2011-01-29 15:20:18 +08:00
md5sums=('b495d63faec29e1fda6315feaa061baf')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org/cinstall/cbundle.git
pushd cbundle
popd
tar -cvJf ${pkgname}-${pkgver}.tar.xz cbundle/*
md5sum ${pkgname}-${pkgver}.tar.xz
}
build() {
cd "${srcdir}/cbundle"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make || return 1
make DESTDIR=${pkgdir} install || return 1
2011-01-29 15:20:18 +08:00
}