From 87e07621c2d2f8cd11977be0c5d2b8ccd325dde0 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 21:55:31 -0400 Subject: [PATCH] update to 12.3: check --- lfs/check-0.15.2.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/check-0.15.2.PKGBUILD diff --git a/lfs/check-0.15.2.PKGBUILD b/lfs/check-0.15.2.PKGBUILD new file mode 100644 index 0000000..e95a6b7 --- /dev/null +++ b/lfs/check-0.15.2.PKGBUILD @@ -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 +}