mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 19:37:13 +08:00
43 lines
982 B
Bash
43 lines
982 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
# (c) 2010 Drake Justice
|
|
|
|
pkgname=cinstall
|
|
pkgver=0.4.7.2
|
|
pkgrel=1
|
|
depends=('rsync' 'cbundle' 'kdelibs' 'qjson')
|
|
makedepends=('qt' 'automoc4' 'libcroco')
|
|
pkgdesc="Chakra's Bundle manager"
|
|
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=('8b07797dd208972d57d058dce53a5137')
|
|
|
|
# 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
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/cinstall"
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
package() {
|
|
cd "${srcdir}/cinstall"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|