mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 22:47:14 +08:00
Cinstall 0.3.50
This commit is contained in:
parent
3957556af5
commit
2c15f32acb
@ -5,11 +5,8 @@
|
|||||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
# (c) 2010 Drake Justice
|
# (c) 2010 Drake Justice
|
||||||
|
|
||||||
# include global config
|
|
||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
||||||
|
|
||||||
pkgname=cinstall
|
pkgname=cinstall
|
||||||
pkgver=0.3.0
|
pkgver=0.3.50
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse')
|
depends=('squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse')
|
||||||
makedeps=('kdelibs' 'qt')
|
makedeps=('kdelibs' 'qt')
|
||||||
@ -21,14 +18,27 @@ url="http://chakra-project.org/"
|
|||||||
optdepends=('akabei: for akabei support'
|
optdepends=('akabei: for akabei support'
|
||||||
'pacman: for pacman support')
|
'pacman: for pacman support')
|
||||||
|
|
||||||
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.gz")
|
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver-${pkgrel}.tar.xz")
|
||||||
md5sums=('4f06339cc3e329d69d28ab3b93353510')
|
md5sums=('790f16b2cf487e3bbb861fa3da33f920')
|
||||||
|
|
||||||
|
# create tarball: source PKGBUILD && mksource
|
||||||
|
|
||||||
|
mksource() {
|
||||||
|
rm -vRf cinstall
|
||||||
|
git clone git://gitorious.org/${pkgname}/${pkgname}.git
|
||||||
|
rm -vRf ${pkgname}/.git
|
||||||
|
sed -i -e "s~\"0.3.0\", ki18n(\"Chakra Software Manager\"),~\"$pkgver\", ki18n(\"Chakra Software Manager\"),~g" ${pkgname}/main.cpp
|
||||||
|
pushd ${pkgname}
|
||||||
|
popd
|
||||||
|
tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz ${pkgname}/*
|
||||||
|
md5sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p $srcdir/build
|
mkdir -p $srcdir/build
|
||||||
cd $srcdir/build
|
cd $srcdir/build
|
||||||
|
|
||||||
cmake ../cinstall-${pkgname} \
|
cmake ../cinstall \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
make || return 1
|
make || return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user