void-packages/srcpkgs/ghostwriter/template

18 lines
683 B
Bash

# Template file for 'ghostwriter'
pkgname=ghostwriter
version=1.5.0
revision=1
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="qt5-devel qt5-tools-devel qt5-multimedia-devel qt5-svg-devel qt5-webkit-devel hunspell-devel"
homepage="http://wereturtle.github.io/ghostwriter"
distfiles="https://github.com/wereturtle/ghostwriter/archive/v${version}.tar.gz"
short_desc="A distraction-free Markdown editor"
maintainer="Andrew Benson <abenson+void@gmail.org>"
license="GPL-3"
checksum=bfd64024d9741f55d587afa5661f4b5e2a48becbbc92495c2186fca44fb08486
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-multimedia-devel qt5-svg-devel qt5-webkit-devel"
fi