desktop/grantlee/PKGBUILD

34 lines
758 B
Bash
Raw Normal View History

# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/grantlee-qt5/
2012-11-19 01:56:42 +08:00
pkgname=grantlee
pkgver=5.1.0
2012-11-19 01:56:42 +08:00
pkgrel=1
pkgdesc="A string template engine based on the Django template system and written in Qt5"
2012-11-19 01:56:42 +08:00
arch=('x86_64')
url="https://github.com/steveire/grantlee"
2012-11-19 01:56:42 +08:00
license=('LGPL3')
depends=('qt5-script')
2012-11-19 01:56:42 +08:00
makedepends=('cmake' 'doxygen')
conflicts=('grantlee-qt5')
replaces=('grantlee-qt5')
source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz")
md5sums=('57989ae9f7c113e682ef1713a6f1e92a')
2012-11-19 01:56:42 +08:00
prepare() {
2012-11-19 01:56:42 +08:00
mkdir build
}
build() {
2012-11-19 01:56:42 +08:00
cd build
cmake ../grantlee-${pkgver} \
2012-11-19 01:56:42 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF
2012-11-19 01:56:42 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}