void-packages/srcpkgs/ghostwriter/template
2020-02-24 09:00:31 +01:00

24 lines
1 KiB
Bash

# Template file for 'ghostwriter'
pkgname=ghostwriter
version=1.8.1
revision=1
build_style=qmake
hostmakedepends="pkg-config qt5-multimedia-devel qt5-svg-devel qt5-webengine-devel
qt5-webchannel-devel qt5-location-devel qt5-declarative-devel"
makedepends="hunspell-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
qt5-webengine-devel qt5-location-devel qt5-webchannel-devel qt5-declarative-devel"
depends="hicolor-icon-theme qt5-svg"
short_desc="Distraction-free Markdown editor"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://wereturtle.github.io/ghostwriter"
distfiles="https://github.com/wereturtle/ghostwriter/archive/v${version}.tar.gz"
checksum=2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69
case "$XBPS_TARGET_MACHINE" in
armv5tel*) broken="qtwebengine not built for this platform";;
ppc|ppc-musl) broken="qtwebengine not built for this platform";;
*) if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="qtwebengine not built for this platform"
fi;;
esac