void-packages/srcpkgs/cutemarked/template

29 lines
797 B
Bash
Raw Normal View History

2015-04-26 20:28:44 +02:00
# Template file for 'cutemarked'
pkgname=cutemarked
2015-07-23 17:22:40 +02:00
version=0.11.1
2015-04-26 20:16:20 +02:00
revision=1
2015-07-23 17:22:40 +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/"
2015-07-23 17:22:40 +02:00
distfiles="https://github.com/cloose/${pkgname}/archive/v${version}.tar.gz"
checksum=17f376429bafbd4009099340e71481075f2695a020a7c85a5f91145e168728e8
2015-04-26 20:16:20 +02:00
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
}