From 89e34a5011f0c61852f3e329d8d84efd7c4aca55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Santos?= Date: Mon, 10 Apr 2023 00:17:56 +0200 Subject: [PATCH 1/2] New package: notes 2.1.0 --- srcpkgs/notes/template | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 srcpkgs/notes/template diff --git a/srcpkgs/notes/template b/srcpkgs/notes/template new file mode 100644 index 000000000000..381519aef7c3 --- /dev/null +++ b/srcpkgs/notes/template @@ -0,0 +1,39 @@ +# Template file for 'notes' +pkgname=notes +version=2.1.0 +revision=1 +build_style=cmake +configure_args="-DUSE_QT_VERSION=5 -DUPDATE_CHECKER=OFF" +hostmakedepends="gcc git" +makedepends="qt5-devel libSM-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" +short_desc="Fast and beautiful note-taking app written in C++" +maintainer="José Santos " +license="MPL-2.0" +homepage="https://github.com/nuttyartist/notes" +changelog="https://github.com/nuttyartist/${pkgname}/releases/tag/v${version}" +distfiles="https://github.com/nuttyartist/${pkgname}/archive/refs/tags/v${version}.tar.gz" +checksum=8a8ae079fad6d9d5e9206acf5f4d19e1e73e1196e6c27408072b5cccf8778b95 + +post_extract() { +git clone https://github.com/alex-spataru/QSimpleUpdater.git --depth=1 +cd QSimpleUpdater || exit +cp -r include ../3rdParty/QSimpleUpdater +cp -r src ../3rdParty/QSimpleUpdater +cd .. + +git clone https://github.com/b00f/qautostart.git --depth=1 +cd qautostart || exit +cp -r src ../3rdParty/qautostart +cd .. + +git clone https://github.com/pbek/qmarkdowntextedit.git --depth=1 +cd qmarkdowntextedit || exit +for _file in CMakeLists.txt LICENSE *.cpp *.h *.ui; do +cp $_file ../3rdParty/qmarkdowntextedit +done +cd .. +} + +post_install() { + vlicense LICENSE +} From 30ce086a546d17f0330fd2663625469fc79e5f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Santos?= Date: Mon, 10 Apr 2023 14:29:14 +0200 Subject: [PATCH 2/2] Update srcpkgs/notes/template Co-authored-by: Mohammed Anas --- srcpkgs/notes/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/notes/template b/srcpkgs/notes/template index 381519aef7c3..3647d3735417 100644 --- a/srcpkgs/notes/template +++ b/srcpkgs/notes/template @@ -10,8 +10,8 @@ short_desc="Fast and beautiful note-taking app written in C++" maintainer="José Santos " license="MPL-2.0" homepage="https://github.com/nuttyartist/notes" -changelog="https://github.com/nuttyartist/${pkgname}/releases/tag/v${version}" -distfiles="https://github.com/nuttyartist/${pkgname}/archive/refs/tags/v${version}.tar.gz" +changelog="https://github.com/nuttyartist/notes/releases" +distfiles="https://github.com/nuttyartist/notes/archive/refs/tags/v${version}.tar.gz" checksum=8a8ae079fad6d9d5e9206acf5f4d19e1e73e1196e6c27408072b5cccf8778b95 post_extract() {