void-packages/srcpkgs/cutemarked/template
2021-03-28 01:34:36 -03:00

24 lines
739 B
Bash

# Template file for 'cutemarked'
pkgname=cutemarked
reverts="v0.11.0_1"
version=0.11.3
revision=8
wrksrc="CuteMarkEd-${version}"
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