2013-12-18 02:36:04 +08:00
|
|
|
|
2010-12-10 03:24:19 +08:00
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
2013-12-18 02:36:04 +08:00
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer abveritas@chakra-project.org
|
2010-12-10 03:24:19 +08:00
|
|
|
# (c) 2010 Drake Justice
|
|
|
|
|
|
|
|
pkgname=cinstall
|
2013-02-06 03:44:55 +08:00
|
|
|
pkgver=0.4.8.3
|
|
|
|
pkgrel=1
|
2012-07-17 07:11:59 +08:00
|
|
|
depends=('cbundle' 'kdelibs' 'qjson')
|
2011-08-16 07:34:00 +08:00
|
|
|
makedepends=('qt' 'automoc4' 'libcroco')
|
2011-06-06 11:26:33 +08:00
|
|
|
pkgdesc="Chakra's Bundle manager"
|
2012-04-23 05:00:13 +08:00
|
|
|
screenshot=("http://wstaw.org/m/2012/04/22/cinstall1.png")
|
2012-12-27 05:25:07 +08:00
|
|
|
arch=('x86_64')
|
2010-12-10 03:24:19 +08:00
|
|
|
license=('GPL')
|
|
|
|
install=$pkgname.install
|
|
|
|
url="http://chakra-project.org/"
|
2012-03-21 00:06:07 +08:00
|
|
|
source=("http://chakra-linux.org/sources/cinstall/cinstall-$pkgver.tar.xz")
|
2013-02-06 03:44:55 +08:00
|
|
|
md5sums=('8ff0f1f403a2ba87d403c416cbb37a51')
|
2011-01-10 01:10:14 +08:00
|
|
|
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
|
|
|
|
mksource() {
|
2013-02-06 03:44:55 +08:00
|
|
|
if [ "${1}" = "" ] ; then
|
|
|
|
git clone git://gitorious.org//chakra/cinstall.git
|
|
|
|
else
|
|
|
|
git clone -b git://gitorious.org//chakra/cinstall.git
|
|
|
|
fi
|
2011-12-23 06:07:13 +08:00
|
|
|
pushd cinstall
|
2011-01-27 05:16:15 +08:00
|
|
|
popd
|
2011-07-27 00:19:35 +08:00
|
|
|
tar -cvJf cinstall-${pkgver}.tar.xz cinstall/*
|
2011-03-28 09:48:15 +08:00
|
|
|
md5sum cinstall-${pkgver}.tar.xz
|
2011-01-10 01:10:14 +08:00
|
|
|
}
|
2010-12-10 03:24:19 +08:00
|
|
|
|
|
|
|
build() {
|
2013-02-06 03:44:55 +08:00
|
|
|
cd "${srcdir}/cinstall"
|
2011-07-05 23:05:03 +08:00
|
|
|
|
2011-01-27 05:16:15 +08:00
|
|
|
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() {
|
2013-02-06 03:44:55 +08:00
|
|
|
cd "${srcdir}/cinstall"
|
2011-12-23 06:07:13 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2011-01-10 03:00:06 +08:00
|
|
|
}
|