mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
42 lines
988 B
Bash
42 lines
988 B
Bash
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
# Maintainer abveritas@chakra-project.org
|
|
# (c) 2010 Drake Justice
|
|
|
|
pkgname=cbundle
|
|
pkgver=0.5.0
|
|
pkgrel=1
|
|
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-linux.org/sources/cinstall/cbundle-$pkgver.tar.xz")
|
|
md5sums=('b559de37d0c0431024cdfca86c05d90f')
|
|
|
|
# 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
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/cbundle"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|