void-packages/srcpkgs/qownnotes/template

26 lines
936 B
Bash

# Template file for 'qownnotes'
pkgname=qownnotes
version=20.7.0
revision=1
build_style=qmake
hostmakedepends="pkg-config qt5-qmake"
makedepends="botan-devel qt5-declarative-devel qt5-svg-devel
qt5-xmlpatterns-devel qt5-websockets-devel qt5-x11extras-devel"
depends="qt5-plugin-sqlite"
short_desc="Plain-text file notepad and todo-list manager with markdown support"
maintainer="travankor <travankor@tuta.io>"
license="GPL-2.0-only"
homepage="https://www.qownnotes.org"
changelog="https://www.qownnotes.org/changelog/QOwnNotes"
distfiles="https://download.tuxfamily.org/${pkgname}/src/${pkgname}-${version}.tar.xz"
checksum=f15d9ec1bad5f617c38efa7885b033eb19054b31e15f768263f43444d3f1114d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel
qt5-xmlpatterns-devel qt5-websockets-devel qt5-x11extras-devel"
fi
pre_build() {
sed -i '5i USE_SYSTEM_BOTAN = 1' libraries/botan/botan.pri
}