update to 12.3: check

This commit is contained in:
Yingjie Wang 2025-03-26 21:55:31 -04:00
parent a87e0f8380
commit 87e07621c2

26
lfs/check-0.15.2.PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
pkgname=check
pkgver=0.15.2
pkgdesc="A unit testing framework for C"
homepage="https://libcheck.github.io/check/"
arch=(x86_64)
license=(LGPL)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/libcheck/check/releases/download/${pkgver}/${sources[0]}")
md5sums=("50fcafcecde5a380415b12e9c574e0b2")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --disable-static
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" docdir=/usr/share/doc/check-${pkgver} install
}