cutemarked: change to build_style=qmake

This commit is contained in:
Andrea Brancaleoni 2015-08-23 18:00:35 +02:00
parent 45c4bde6ca
commit 15da72cf6b
1 changed files with 3 additions and 15 deletions

View File

@ -2,10 +2,11 @@
pkgname=cutemarked
reverts="v0.11.0_1"
version=0.11.1
revision=2
revision=3
wrksrc="CuteMarkEd-${version}"
nocross=yes
hostmakedepends="pkg-config qt-qmake"
build_style=qmake
hostmakedepends="pkg-config qt5-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"
@ -14,16 +15,3 @@ license="GPL-2"
homepage="http://cloose.github.io/CuteMarkEd/"
distfiles="https://github.com/cloose/${pkgname}/archive/v${version}.tar.gz"
checksum=17f376429bafbd4009099340e71481075f2695a020a7c85a5f91145e168728e8
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
}