# Maintainer: Simon Wilper pkgbase=cutelyst pkgname=('cutelyst' 'cutelyst-docs') pkgver=2.1.0 pkgrel=2 pkgdesc="A Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework." arch=('i686' 'x86_64') url="http://cutelyst.org" license=('LGPL2.1') depends=('qt5-base' 'grantlee' 'uwsgi') makedepends=('cmake' 'doxygen' 'graphviz') source=("https://github.com/cutelyst/cutelyst/archive/v${pkgver}.tar.gz") build() { mkdir -p "$srcdir/${pkgname}-${pkgver}/build" cd "$srcdir/${pkgname}-${pkgver}" cd build cmake \ -DCMAKE_BUILD_TYPE=Release \ -DPLUGIN_VIEW_GRANTLEE=1 \ -DCMAKE_INSTALL_PREFIX=/usr ".." make } package_cutelyst-docs() { pkgdesc="Doxygen HTML API Documentation" cd "$srcdir/${pkgbase}-${pkgver}/build" make docs install -d -m755 ${pkgdir}/usr/share/doc/cutelyst/html/ install -m644 apidox/* ${pkgdir}/usr/share/doc/cutelyst/html/ } package_cutelyst() { cd "$srcdir/${pkgname}-${pkgver}/build" make DESTDIR="$pkgdir/" install } sha512sums=('7c8eb5e1cbe7cc3b226b9bff68ee422486847f1f65fba510016f7d8a469b17efe2372a7a5da392d013eb9c5ab8ffc044fe1d8fd49bc06dc9fe5a72211d10c565')