diff options
author | dx-mon | 2020-10-06 20:40:20 +0100 |
---|---|---|
committer | dx-mon | 2020-10-06 21:30:50 +0100 |
commit | b4d5bef1a1fc2a5e061f12f431ba5fb1f6f46691 (patch) | |
tree | 2052ee8cda84a25f9f6a03452d93e35dac41b812 | |
download | aur-b4d5bef1a1fc2a5e061f12f431ba5fb1f6f46691.tar.gz |
Initial version with crunch-1.1.1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3a1b4b5e7cc6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = crunch-test + pkgdesc = crunch your code. Crunch is a unit testing framework written for C and C++. + pkgver = 1.1.1 + pkgrel = 1 + url = https://github.com/DX-MON/crunch + arch = x86_64 + arch = i386 + arch = aarch64 + license = LGPL3 + makedepends = ninja + makedepends = meson + provides = crunch++ + source = https://github.com/DX-MON/crunch/releases/v1.1.1/crunch-1.1.1.tar.xz + source = https://github.com/DX-MON/crunch/releases/v1.1.1/crunch-1.1.1.tar.xz.asc + validpgpkeys = 5E30DFF73626CA96F83DDF5E0137BA904EBDB4CD + sha256sums = bef4d52588ebf2534387e557c235cc1ea85d5890e91c15e28689bbc06a09548f + sha256sums = SKIP + +pkgname = crunch-test + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5f6f4a858803 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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/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 +} |