mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 07:57:28 +08:00
29 lines
638 B
Bash
29 lines
638 B
Bash
|
# Support packages for Desktop
|
||
|
|
||
|
pkgname=grantlee
|
||
|
pkgver=0.3.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A string template engine based on the Django template system and written in Qt"
|
||
|
arch=('x86_64')
|
||
|
url="http://www.gitorious.org/grantlee/pages/Home"
|
||
|
license=('LGPL3')
|
||
|
depends=('qt')
|
||
|
makedepends=('cmake' 'doxygen')
|
||
|
conflicts=('grantlee-git')
|
||
|
source=("http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz")
|
||
|
md5sums=('195763a3238f51f8885881fc8012cd83')
|
||
|
|
||
|
build() {
|
||
|
mkdir build
|
||
|
cd build
|
||
|
cmake ../${pkgname}-${pkgver} \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_BUILD_TYPE=Release
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|