[arch-commits] Commit in cherrytree/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Aug 19 13:17:45 UTC 2022
Date: Friday, August 19, 2022 @ 13:17:44
Author: felixonmars
Revision: 1270083
archrelease: copy trunk to community-staging-x86_64
Added:
cherrytree/repos/community-staging-x86_64/
cherrytree/repos/community-staging-x86_64/PKGBUILD
(from rev 1270082, cherrytree/trunk/PKGBUILD)
cherrytree/repos/community-staging-x86_64/keys/
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: cherrytree/repos/community-staging-x86_64/PKGBUILD (from rev 1270082, cherrytree/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-08-19 13:17:44 UTC (rev 1270083)
@@ -0,0 +1,39 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Morgenstern <charles [at] charlesbwise [dot] com>
+
+pkgname=cherrytree
+pkgver=0.99.47
+pkgrel=2
+pkgdesc="Hierarchical note-taking application"
+arch=('x86_64')
+url="https://www.giuspen.com/cherrytree/"
+license=('GPL3')
+depends=('fmt' 'gspell' 'gtksourceviewmm' 'libxml++2.6' 'uchardet')
+makedepends=('cmake' 'python' 'spdlog')
+checkdepends=('xorg-server-xvfb')
+source=("${pkgname}-${pkgver}.tar.xz::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz"
+ "${pkgname}-${pkgver}.tar.xz.asc::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz.asc")
+sha512sums=('2611be4c24a188793aa6785d96b33ec91c0957b30616352e1cb2cd12f296e39c29666d37a03016be6c934898bf6deb98af74c2c345d9c70f138f62ac6b10f023'
+ 'SKIP')
+validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone <giuspen [at] gmail [dot] com>
+
+build() {
+ cmake \
+ -B "${pkgname}_${pkgver}/build" \
+ -S "${pkgname}_${pkgver}" \
+ -DINSTALL_GTEST:BOOL='OFF' \
+ -DAUTO_RUN_TESTING:BOOL='OFF' \
+ -Wno-dev
+ make -C "${pkgname}_${pkgver}/build"
+}
+
+check() {
+ cd "${pkgname}_${pkgver}"
+ xvfb-run ./"${_pkgname}/build/run_tests_with_x_1"
+ xvfb-run ./"${_pkgname}/build/run_tests_with_x_2"
+}
+
+package() {
+ make -C "${pkgname}_${pkgver}/build" DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list