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
|
|
|
|
|
|
|
|
pkgname=cinstall
|
2011-03-26 23:57:14 +08:00
|
|
|
pkgver=0.4.3
|
2011-03-14 00:06:35 +08:00
|
|
|
pkgrel=1
|
2011-03-03 22:56:03 +08:00
|
|
|
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse' 'cbundle')
|
2011-03-05 08:00:31 +08:00
|
|
|
makedepends=('kdelibs' 'qt' 'automoc4')
|
2010-12-10 03:24:19 +08:00
|
|
|
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-03-19 05:34:07 +08:00
|
|
|
source=("http://chakra-project.org/sources/cinstall/jmc-88-cinstall-$pkgver.tar.xz")
|
2011-03-26 23:57:14 +08:00
|
|
|
md5sums=('e33ae06c76c91c4e76700968bfd0080d')
|
2011-01-10 01:10:14 +08:00
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
|
|
|
|
mksource() {
|
2011-03-19 05:34:07 +08:00
|
|
|
git clone git://gitorious.org/~jmc-88/cinstall/jmc-88-cinstall.git
|
|
|
|
pushd jmc-88-cinstall
|
2011-01-27 05:16:15 +08:00
|
|
|
popd
|
2011-03-19 05:34:07 +08:00
|
|
|
tar -cvJf jmc-88-cinstall-${pkgver}.tar.xz jmc-88-cinstall/*
|
|
|
|
md5sum jmc-88-cinstall-${pkgver}.tar.xz
|
2011-01-10 01:10:14 +08:00
|
|
|
}
|
2010-12-10 03:24:19 +08:00
|
|
|
|
|
|
|
build() {
|
2011-03-19 05:34:07 +08:00
|
|
|
cd "${srcdir}/jmc-88-cinstall"
|
2010-12-10 03:24:19 +08:00
|
|
|
|
2011-01-27 05:16:15 +08:00
|
|
|
cmake \
|
2010-12-10 03:24:19 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make || return 1
|
2011-01-10 03:00:06 +08:00
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
}
|