void-packages/srcpkgs/cutemarked/template

29 lines
799 B
Bash

# Template file for 'cutemarked'
pkgname=cutemarked
version=v0.11.0
revision=1
wrksrc="CuteMarkEd-${version#?}"
nocross=yes
hostmakedepends="pkg-config qt-qmake"
makedepends="qt5-devel qt5-tools-devel qt5-webkit-devel discount-devel hunspell-devel"
depends="desktop-file-utils"
short_desc="A Markdown editor with live HTML preview"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-2"
homepage="http://cloose.github.io/CuteMarkEd/"
distfiles="https://github.com/cloose/${pkgname}/archive/${version}.tar.gz"
checksum=c6396d3807417ffe63fcbe3e84a8c1dc7d38bd7f5dada0c75de4f374318831a5
do_configure() {
qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP=""
}
do_build() {
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}