desktop/tools-pkg-cinstall/PKGBUILD

43 lines
982 B
Bash
Raw Normal View History

2010-12-10 03:24:19 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
2010-12-10 03:24:19 +08:00
# (c) 2010 Drake Justice
pkgname=cinstall
pkgver=0.4.7.1
2011-08-31 02:59:36 +08:00
pkgrel=1
2011-12-23 06:07:13 +08:00
depends=('rsync' 'cbundle' 'kdelibs' 'qjson')
makedepends=('qt' 'automoc4' 'libcroco')
pkgdesc="Chakra's Bundle manager"
2010-12-10 03:24:19 +08:00
arch=("i686" "x86_64")
license=('GPL')
install=$pkgname.install
url="http://chakra-project.org/"
source=("http://chakra-linux.org/sources/cinstall/cinstall-$pkgver.tar.xz")
md5sums=('bd93ab683ae2077dae963661cf5d6064')
2011-01-10 01:10:14 +08:00
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org//chakra/cinstall.git
2011-12-23 06:07:13 +08:00
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
2011-12-23 06:07:13 +08:00
make
}
package() {
cd "${srcdir}/cinstall"
make DESTDIR=${pkgdir} install
2011-01-10 03:00:06 +08:00
}