2010-12-10 03:24:19 +08:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2011-01-05 20:18:43 +08:00
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2010-12-10 03:24:19 +08:00
|
|
|
pkgname=cinstall
|
2011-01-05 20:18:43 +08:00
|
|
|
pkgver=0.3.0
|
2010-12-10 03:24:19 +08:00
|
|
|
pkgrel=1
|
|
|
|
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse')
|
|
|
|
makedeps=('kdelibs' 'qt')
|
|
|
|
pkgdesc="Bundle Creator/Launcher and Package-Manager"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
license=('GPL')
|
|
|
|
install=$pkgname.install
|
|
|
|
url="http://chakra-project.org/"
|
|
|
|
optdepends=('akabei: for akabei support'
|
|
|
|
'pacman: for pacman support')
|
|
|
|
|
2011-01-05 20:18:43 +08:00
|
|
|
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.gz")
|
|
|
|
md5sums=('4f06339cc3e329d69d28ab3b93353510')
|
2010-12-10 03:24:19 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-05 20:18:43 +08:00
|
|
|
mkdir -p $srcdir/build
|
|
|
|
cd $srcdir/build
|
2010-12-10 03:24:19 +08:00
|
|
|
|
2011-01-05 20:18:43 +08:00
|
|
|
cmake ../cinstall-${pkgname} \
|
2010-12-10 03:24:19 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
}
|
|
|
|
|