mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
50 lines
1.0 KiB
Bash
50 lines
1.0 KiB
Bash
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
|
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
|
|
|
pkgname=grantlee-git
|
|
pkgver=20101019
|
|
pkgrel=1
|
|
pkgdesc="Grantlee is a string template engine based on the Django template system."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gitorious.org/grantlee"
|
|
license=('LGPL3')
|
|
groups=()
|
|
depends=('qt')
|
|
makedepends=('cmake')
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
noextract=()
|
|
md5sums=(81a65a4154a469c37521e32f48624245)
|
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
mksource() {
|
|
git clone git://gitorious.org/grantlee/grantlee.git
|
|
pushd grantlee
|
|
popd
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz grantlee/*
|
|
md5sum ${pkgname}-${pkgver}.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/grantlee"
|
|
|
|
|
|
# BUILD HERE
|
|
|
|
|
|
mkdir -p build &&
|
|
cd build &&
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
make
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|