adding cbundle to desktop-testing, cinstall update

This commit is contained in:
abveritas 2011-01-26 21:16:15 +00:00
parent b96e41f26f
commit 88ad715dd6
2 changed files with 50 additions and 20 deletions

View File

@ -0,0 +1,38 @@
# 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
}

View File

@ -6,10 +6,10 @@
# (c) 2010 Drake Justice
pkgname=cinstall
pkgver=0.3.51
pkgver=0.3.52
pkgrel=1
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse')
makedeps=('kdelibs' 'qt')
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse' 'cbundle')
makedepends=('kdelibs' 'qt')
pkgdesc="Bundle Creator/Launcher and Package-Manager"
arch=("i686" "x86_64")
license=('GPL')
@ -18,33 +18,25 @@ url="http://chakra-project.org/"
optdepends=('akabei: for akabei support'
'pacman: for pacman support')
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver-${pkgrel}.tar.gz")
md5sums=('7f62317d0fbc99d5510a3e1288658212')
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.xz")
md5sums=('202f96745fcc4469f707dbbbed309d03')
# create tarball: source PKGBUILD && mksource
mksource() {
rm -vRf cinstall
git clone git://gitorious.org/${pkgname}/${pkgname}.git
rm -vRf ${pkgname}/.git
sed -i -e "s~\"0.3.0\", ki18n(\"Chakra Software Manager\"),~\"$pkgver\", ki18n(\"Chakra Software Manager\"),~g" ${pkgname}/main.cpp
pushd ${pkgname}
popd
tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz ${pkgname}/*
md5sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz
git clone git://gitorious.org/cinstall/cinstall.git
pushd cinstall
popd
tar -cvJf ${pkgname}-${pkgver}.tar.xz cinstall/*
md5sum ${pkgname}-${pkgver}.tar.xz
}
build() {
mkdir -p $srcdir/build
cd $srcdir/build
cd "${srcdir}/cinstall"
cmake ../cinstall \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make || return 1
}
package() {
cd $srcdir/build
make DESTDIR=${pkgdir} install || return 1
}