diff --git a/srcpkgs/cutemarked/template b/srcpkgs/cutemarked/template new file mode 100644 index 00000000000..de3dba48f9b --- /dev/null +++ b/srcpkgs/cutemarked/template @@ -0,0 +1,28 @@ +# 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 " +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 +} +