desktop/tools-pkg-cinstall/PKGBUILD

40 lines
1.0 KiB
Bash
Raw Normal View History

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
pkgver=0.4.5.1
2011-04-21 04:55:32 +08:00
pkgrel=2
depends=('rsync' '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/"
2011-03-30 23:47:14 +08:00
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.xz")
2011-04-21 04:55:32 +08:00
md5sums=('c7c22a279dc3f0f9e16ada74e5ebaf41')
2011-01-10 01:10:14 +08:00
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org/chakra/cinstall.git
pushd cinstall
popd
tar -cvJf cinstall-${pkgver}.tar.xz cinstall/*
md5sum cinstall-${pkgver}.tar.xz
2011-01-10 01:10:14 +08:00
}
2010-12-10 03:24:19 +08:00
build() {
cd "${srcdir}/cinstall"
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
}