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-03-21 20:39:58 +08:00
|
|
|
pkgver=0.4.2
|
2011-03-14 00:06:35 +08:00
|
|
|
pkgrel=1
|
2011-01-27 05:16:15 +08:00
|
|
|
depends=('squashfs-tools' 'fakechroot' 'unionfs-fuse')
|
2011-03-09 00:40:23 +08:00
|
|
|
makedepends=('qt' 'automoc4' 'kdebase-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-19 20:07:57 +08:00
|
|
|
source=("http://chakra-project.org/sources/cinstall/jmc-88-cbundle-$pkgver.tar.xz")
|
2011-03-21 20:39:58 +08:00
|
|
|
md5sums=('8c36f1fc34f0da841644ac1e512df667')
|
2011-01-27 05:16:15 +08:00
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
|
2011-03-19 05:34:07 +08:00
|
|
|
mksource() {
|
|
|
|
git clone git://gitorious.org/~jmc-88/cinstall/jmc-88-cbundle.git
|
|
|
|
pushd jmc-88-cbundle
|
|
|
|
popd
|
|
|
|
tar -cvJf jmc-88-cbundle-${pkgver}.tar.xz jmc-88-cbundle/*
|
|
|
|
md5sum jmc-88-cbundle-${pkgver}.tar.xz
|
|
|
|
}
|
2011-01-27 05:16:15 +08:00
|
|
|
|
|
|
|
build() {
|
2011-03-19 05:34:07 +08:00
|
|
|
cd "${srcdir}/jmc-88-cbundle"
|
2011-03-09 00:40:23 +08:00
|
|
|
|
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
|
|
|
}
|