This commit is contained in:
bayramkarahan committed 2023-04-09 19:27:15 +03:00
1 parent 21745e2730
commit b0cda5bf4a
45 files changed
+1638 -35

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
diff --git i/src/CMakeLists.txt w/src/CMakeLists.txt
index 4a02dbe..4d731c9 100644
--- i/src/CMakeLists.txt
+++ w/src/CMakeLists.txt
@@ -188,7 +188,7 @@ target_include_directories(checkShared
)
if(NOT THIS_IS_SUBPROJECT)
- install(TARGETS check checkShared
+ install(TARGETS checkShared
EXPORT check-targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env bash
name='check'
release='1'
version='0.15.2'
url='https://libcheck.github.io/check/'
description='A unit test framework for C '
email='bayramk@gmail.com'
maintainer='bk'
license=('GPLv3')
source=("https://github.com/libcheck/check/archive/refs/tags/$version.tar.gz"
"no-static.diff")
depends=()
makedepends=()
md5sums=('2528f5cff61db6d53d44fb95da0c7fce'
'SKIP')
group=(media.libs)
uses=()
arch=('x86_64')
cd $name-$version
prepare() {
patch -Np1 -i ../no-static.diff
}
setup(){
autoreconf -fvi
#git describe --tags | sed 's/-/+/g'
CFLAGS+=" -Wno-format-extra-args"
cmake .
}
build(){
make -j`nproc`
}
package(){
make install -j`nproc`
}