mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 18:47:17 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# 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.3.54
|
|
pkgrel=1
|
|
depends=('squashfs-tools' 'fakechroot' 'unionfs-fuse')
|
|
makedepends=('qt')
|
|
pkgdesc="A shared library for using Chakra software bundles"
|
|
arch=("i686" "x86_64")
|
|
license=('GPL')
|
|
url="http://chakra-project.org/"
|
|
|
|
source=(jmc-88-jmc-88-cbundle-master.tar.gz)
|
|
md5sums=('9bcaf638e582319f3843157dc3dac35e')
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
mksource() {
|
|
git clone git://gitorious.org/~jmc-88/cinstall/jmc-88-cbundle.git
|
|
pushd cbundle
|
|
popd
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz cbundle/*
|
|
md5sum ${pkgname}-${pkgver}.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/cinstall-jmc-88-cbundle"
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|