desktop/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.4.6.8
pkgrel=2
depends=('squashfs-tools' 'fakechroot' 'unionfs-fuse' 'sh')
makedepends=('qt' 'automoc4' 'kde-workspace')
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")
md5sums=('9314c953dcda4d4eb1f3fe63d58f6757')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org/chakra/cbundle.git
pushd cbundle
popd
tar -cvJf cbundle-${pkgver}.tar.xz cbundle/*
md5sum cbundle-${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
}