2011-01-27 05:16:15 +08:00
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
2013-12-18 02:36:04 +08:00
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer abveritas@chakra-project.org
|
2011-01-27 05:16:15 +08:00
|
|
|
# (c) 2010 Drake Justice
|
|
|
|
|
|
|
|
pkgname=cbundle
|
2012-10-09 01:00:53 +08:00
|
|
|
pkgver=0.5.0
|
2012-05-07 03:28:59 +08:00
|
|
|
pkgrel=1
|
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-12-17 07:14:24 +08:00
|
|
|
source=("http://chakra-linux.org/sources/cinstall/cbundle-$pkgver.tar.xz")
|
2012-10-09 01:00:53 +08:00
|
|
|
md5sums=('b559de37d0c0431024cdfca86c05d90f')
|
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
|
2012-07-30 10:15:43 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/cbundle"
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-01-29 15:20:18 +08:00
|
|
|
}
|