blob: de39f2e52dfe1a6649c886d53dfd646d231c4f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Rachel Mant <dx-mon@users.sourceforge.net>
pkgname=crunch-test
_pkgname=crunch
pkgver=1.1.1
pkgrel=1
pkgdesc="crunch your code. Crunch is a unit testing framework written for C and C++."
arch=('x86_64' 'i386' 'aarch64')
license=('LGPL3')
url="https://github.com/DX-MON/crunch"
depends=()
makedepends=('ninja' 'meson')
provides=('crunch++')
source=("https://github.com/DX-MON/crunch/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('bef4d52588ebf2534387e557c235cc1ea85d5890e91c15e28689bbc06a09548f' 'SKIP')
validpgpkeys=(
'5E30DFF73626CA96F83DDF5E0137BA904EBDB4CD' # "Rachel Mant <dx-mon@users.sourceforge.net>"
)
build()
{
cd ${_pkgname}-${pkgver}
meson build --prefix=/usr
ninja -C build
}
check()
{
cd ${_pkgname}-${pkgver}
ninja -C build test
}
package()
{
cd ${_pkgname}-${pkgver}
DESTDIR="${pkgdir}" ninja -C build install
}
|