diff options
author | Tim Lagnese | 2022-02-04 13:01:02 -0800 |
---|---|---|
committer | Tim Lagnese | 2022-02-04 13:01:02 -0800 |
commit | e33c7647ca448910f6a4c2a0a422cf8d2e71d57f (patch) | |
tree | cf1acce4198189d18328f941b239ecee9acdaa23 /PKGBUILD | |
parent | f30b7ba6a5a4d637b4100ce9a55d3843955fd403 (diff) | |
download | aur-e33c7647ca448910f6a4c2a0a422cf8d2e71d57f.tar.gz |
Add check function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=alire pkgver=1.1.2 -pkgrel=3 +pkgrel=4 pkgdesc="A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to obtain, build, and incorporate them into your own projects. It aims to fulfill a similar role to Rust's cargo or OCaml's opam." arch=('i686' 'x86_64') url="https://alire.ada.dev/" @@ -59,6 +59,11 @@ build() { gprbuild -j0 -P alr_env -cargs -gnatws } +check() { + cd "$srcdir/$pkgname-$pkgver/testsuite" + GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null ./run.py +} + package() { cd "$srcdir/$pkgname-$pkgver" gprinstall -P alr_env -p --prefix="$pkgdir/usr" |