-
Notifications
You must be signed in to change notification settings - Fork 5
/
PKGBUILD
36 lines (32 loc) · 852 Bytes
/
PKGBUILD
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
# Maintainer: Rachel Mant <[email protected]>
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/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('bef4d52588ebf2534387e557c235cc1ea85d5890e91c15e28689bbc06a09548f' 'SKIP')
validpgpkeys=(
'5E30DFF73626CA96F83DDF5E0137BA904EBDB4CD' # "Rachel Mant <[email protected]>"
)
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
}