mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
41 lines
1.0 KiB
Bash
41 lines
1.0 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.4
|
|
pkgrel=1
|
|
depends=('rsync' '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/"
|
|
|
|
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.xz")
|
|
md5sums=('65b14f25f1828033111317346bb9e13d')
|
|
|
|
# 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 || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|