desktop/tools-pkg-cinstall/PKGBUILD

42 lines
1.2 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.6.5
2011-06-25 06:26:51 +08:00
pkgrel=3
depends=('rsync' 'cbundle')
2011-06-25 04:02:08 +08:00
makedepends=('kdelibs' '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/"
2011-06-25 06:26:51 +08:00
source=("cinstall-$pkgver.tar.xz" 'refresh.patch')
md5sums=('1c5119fbb846ffb25aa1517e4a75e89f'
'c4e85f9e536fb62f466a535cd5a1dedc')
2011-01-10 01:10:14 +08:00
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://gitorious.org/~fritzvantom/chakra/fritzvantoms-cinstall-differentui.git
pushd fritzvantoms-cinstall
popd
tar -cvJf cinstall-${pkgver}.tar.xz fritzvantoms-cinstall-differentui/*
md5sum cinstall-${pkgver}.tar.xz
2011-01-10 01:10:14 +08:00
}
2010-12-10 03:24:19 +08:00
build() {
cd "${srcdir}/fritzvantoms-cinstall-differentui"
2011-06-25 06:26:51 +08:00
patch -Np1 -i "${srcdir}/refresh.patch"
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
}