void-packages/srcpkgs/cutemarked/template

24 lines
708 B
Bash

# Template file for 'cutemarked'
pkgname=cutemarked
reverts="v0.11.0_1"
version=0.11.3
revision=8
build_style=qmake
hostmakedepends="pkg-config qt5-qmake"
makedepends="qt5-devel qt5-tools-devel qt5-webkit-devel discount-devel hunspell-devel"
depends="desktop-file-utils"
short_desc="Markdown editor with live HTML preview"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-2.0-or-later"
homepage="http://cloose.github.io/CuteMarkEd/"
distfiles="https://github.com/cloose/${pkgname}/archive/v${version}.tar.gz"
checksum=78a41808c2f0452375810abdff76eeaaee012f8d1368a2b8772ec6b4d2ceeec8
pre_build() {
lrelease app/app.pro
}
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-webkit-devel"
fi