void-packages/srcpkgs/cutemarked/template

29 lines
799 B
Bash
Raw Normal View History

2015-04-26 20:28:44 +02:00
# Template file for 'cutemarked'
pkgname=cutemarked
2015-04-26 20:16:20 +02:00
version=v0.11.0
revision=1
2015-04-26 20:28:44 +02:00
wrksrc="CuteMarkEd-${version#?}"
2015-04-27 09:48:31 +02:00
nocross=yes
2015-04-26 20:16:20 +02:00
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
}