desktop/tools-pkg-cinstall/PKGBUILD

43 lines
1.2 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=cinstall
pkgver=0.4.3
pkgrel=1
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse' 'cbundle')
makedepends=('kdelibs' 'qt' 'automoc4')
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')
source=("http://chakra-project.org/sources/cinstall/jmc-88-cinstall-$pkgver.tar.xz")
md5sums=('e33ae06c76c91c4e76700968bfd0080d')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org/~jmc-88/cinstall/jmc-88-cinstall.git
pushd jmc-88-cinstall
popd
tar -cvJf jmc-88-cinstall-${pkgver}.tar.xz jmc-88-cinstall/*
md5sum jmc-88-cinstall-${pkgver}.tar.xz
}
build() {
cd "${srcdir}/jmc-88-cinstall"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make || return 1
make DESTDIR=${pkgdir} install || return 1
}