We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecd4ee1 commit 242408cCopy full SHA for 242408c
1 file changed
archlinuxcn/hyprwire-git/PKGBUILD
@@ -10,6 +10,7 @@ url="https://github.com/hyprwm/${_pkgname}"
10
license=('BSD-3-Clause')
11
depends=('gcc-libs' 'hyprutils-git' 'libffi' 'pugixml')
12
makedepends=('git' 'cmake')
13
+checkdepends=('gtest')
14
conflicts=("${_pkgname}")
15
provides=("${_pkgname}" "lib${_pkgname}.so")
16
source=("git+${url}.git")
@@ -32,6 +33,10 @@ build() {
32
33
cmake --build build
34
}
35
36
+check() {
37
+ ctest --test-dir build --output-on-failure
38
+}
39
+
40
package() {
41
DESTDIR="${pkgdir}" cmake --install build
42
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
0 commit comments