mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 12:57:15 +08:00
38 lines
1.0 KiB
Bash
38 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.52
|
|
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=(http://chakra-project.org/sources/cinstall/cbundle-$pkgver.tar.xz)
|
|
md5sums=('1814e4d583c08722e0cabd0ad3762992')
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
mksource() {
|
|
git clone git://gitorious.org/cinstall/cbundle.git
|
|
pushd cbundle
|
|
popd
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz cbundle/*
|
|
md5sum ${pkgname}-${pkgver}.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/cbundle"
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
} |