diff options
author | Xorg | 2022-10-09 15:39:53 +0200 |
---|---|---|
committer | Xorg | 2022-10-09 15:40:08 +0200 |
commit | f3a972d89296ea983f316d8f4c97c14f04b6ed99 (patch) | |
tree | ea0ce6c7a1c25a70e544e2f59452693f6ab4a031 /PKGBUILD | |
parent | 92293cda4652851d39b368012074e565b6643de1 (diff) | |
download | aur-f3a972d89296ea983f316d8f4c97c14f04b6ed99.tar.gz |
Add check() function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -3,13 +3,14 @@ _realname=CPU-X pkgname=cpu-x pkgver=4.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Free software that gathers information on CPU, motherboard and more" arch=('i686' 'x86_64') url="http://X0rg.github.io/CPU-X/" license=('GPL3') depends=('gtk3' 'ncurses' 'libcpuid>=0.6.0' 'pciutils' 'glfw' 'opencl-icd-loader' 'vulkan-icd-loader' 'procps-ng') makedepends=('cmake' 'ninja' 'nasm' 'opencl-headers' 'vulkan-headers') +checkdepends=('mawk' 'nawk') optdepends=('opencl-driver: packaged openCL driver' 'opengl-driver: packaged openGL driver' 'vulkan-driver: packaged Vulkan driver') @@ -21,6 +22,10 @@ build() { cmake --build build } +check() { + ninja -C build test +} + package() { DESTDIR="$pkgdir" cmake --install build } |