diff options
author | Guillaume Horel | 2023-11-06 16:15:52 -0500 |
---|---|---|
committer | Guillaume Horel | 2023-11-06 16:15:52 -0500 |
commit | d5ab00bd468ec62224ff4d69520d89221fb5c5e7 (patch) | |
tree | 1d327967f1096414961685b8434871fe6d3c7ce1 /PKGBUILD | |
parent | 8a50e9f41718c3ec5649f787c259f990507394f3 (diff) | |
download | aur-bctoolbox-git.tar.gz |
do not build tests
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgname=bctoolbox-git _pkgname=bctoolbox -pkgver=5.3.0.alpha.r10.gb0027df +pkgver=5.3.0.alpha.r40.g6a403ee pkgrel=1 pkgdesc="Utilities library for Belledonne Communications software" arch=('x86_64') @@ -10,23 +10,23 @@ url="http://www.linphone.org/" license=('GPL') conflicts=('bctoolbox') provides=('bctoolbox=$pkgver') -depends=('bcunit>=3.0.2+12' 'libdecaf' 'mbedtls') +depends=('libdecaf' 'mbedtls') makedepends=('cmake' 'git') source=("git+https://github.com/BelledonneCommunications/$_pkgname.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}" + cd "${_pkgname}" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cmake -B build "${_pkgname}" \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DENABLE_STATIC="NO" \ - -DENABLE_TESTS="YES" \ - -DENABLE_TESTS_COMPONENT="YES" \ + -DENABLE_TESTS_COMPONENT="NO" \ -DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \ + -DCMAKE_BUILD_TYPE=None \ + -DBUILD_SHARED_LIBS=YES \ -Wno-dev make -C build } |