2011-01-27 05:16:15 +08:00
|
|
|
# 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
|
2011-09-16 06:32:41 +08:00
|
|
|
pkgver=0.4.6.8
|
2011-10-08 10:17:25 +08:00
|
|
|
pkgrel=2
|
2011-06-06 11:26:33 +08:00
|
|
|
depends=('squashfs-tools' 'fakechroot' 'unionfs-fuse' 'sh')
|
2011-07-27 00:19:35 +08:00
|
|
|
makedepends=('qt' 'automoc4' 'kde-workspace')
|
2011-01-27 05:16:15 +08:00
|
|
|
pkgdesc="A shared library for using Chakra software bundles"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
license=('GPL')
|
|
|
|
url="http://chakra-project.org/"
|
|
|
|
|
2011-03-28 09:48:15 +08:00
|
|
|
source=("http://chakra-project.org/sources/cinstall/cbundle-$pkgver.tar.xz")
|
2011-09-16 06:32:41 +08:00
|
|
|
md5sums=('9314c953dcda4d4eb1f3fe63d58f6757')
|
2011-01-27 05:16:15 +08:00
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
|
2011-03-19 05:34:07 +08:00
|
|
|
mksource() {
|
2011-03-28 09:48:15 +08:00
|
|
|
git clone git://gitorious.org/chakra/cbundle.git
|
2011-04-10 02:07:28 +08:00
|
|
|
pushd cbundle
|
2011-03-19 05:34:07 +08:00
|
|
|
popd
|
2011-03-28 09:48:15 +08:00
|
|
|
tar -cvJf cbundle-${pkgver}.tar.xz cbundle/*
|
|
|
|
md5sum cbundle-${pkgver}.tar.xz
|
2011-03-19 05:34:07 +08:00
|
|
|
}
|
2011-01-27 05:16:15 +08:00
|
|
|
|
|
|
|
build() {
|
2011-03-28 09:48:15 +08:00
|
|
|
cd "${srcdir}/cbundle"
|
2011-01-27 05:16:15 +08:00
|
|
|
|
|
|
|
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
|
|
|
}
|