[arch-commits] Commit in cherrytree/trunk (PKGBUILD)
NicoHood
nicohood at archlinux.org
Wed Feb 24 19:45:10 UTC 2021
Date: Wednesday, February 24, 2021 @ 19:45:10
Author: nicohood
Revision: 871894
upgpkg: cherrytree 0.99.31-1
Modified:
cherrytree/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-24 19:44:51 UTC (rev 871893)
+++ PKGBUILD 2021-02-24 19:45:10 UTC (rev 871894)
@@ -3,7 +3,7 @@
# Contributor: Morgenstern <charles [at] charlesbwise [dot] com>
pkgname=cherrytree
-pkgver=0.99.30
+pkgver=0.99.31
pkgrel=1
pkgdesc="Hierarchical note-taking application"
arch=('x86_64')
@@ -14,7 +14,7 @@
makedepends=('cmake' 'python' 'spdlog')
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=('949308a5a1eb2ee722d5f4cc530735b597d6caf1f04c4858903260a8c5eedbdc8431e1988516bb5b4fd425c171bbaa332293d741f0a8e594f6c0276468d2ee22'
+sha512sums=('2ddfd469f01fd5d7fa7d4cb2875572324f51e41e698d1ad2e9e90b1ea7b37cf539cb93cd49d458480ff1ded5f7ca4ab7081d64cd3f81df1703c0ae73f91e0aa5'
'SKIP')
validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone <giuspen [at] gmail [dot] com>
@@ -28,13 +28,15 @@
make -C "${pkgname}_${pkgver}/build"
}
-# NOTE: In order to run tests in a clean chroot, you must allow it access your X server:
+# NOTE: In order to run tests that depend on the X server in a clean chroot,
+# you must allow the chroot access your X server:
# xhost +local:
# https://wiki.archlinux.org/index.php/chroot#Run_graphical_applications_from_chroot
check() {
export DISPLAY=:0
cd "${pkgname}_${pkgver}"
- ./build/run_tests
+ ./"${_pkgname}/build/run_tests_with_x_1"
+ ./"${_pkgname}/build/run_tests_with_x_2"
}
package() {
More information about the arch-commits
mailing list