diff options
author | Guillaume Horel | 2020-12-19 16:25:40 -0500 |
---|---|---|
committer | Guillaume Horel | 2020-12-19 16:25:40 -0500 |
commit | 8f8f4825c28f1be738c2095f34cb60e0456f19f6 (patch) | |
tree | 423ad69e54ca457dae76ee54021c0d4b50799863 | |
parent | ef3933b120d1fe7639bd2f90bc7c6535631899e3 (diff) | |
download | aur-8f8f4825c28f1be738c2095f34cb60e0456f19f6.tar.gz |
cmake cleanup
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 10 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = bctoolbox-git pkgdesc = Utilities library for Belledonne Communications software - pkgver = 4.5.0.alpha.r46.gb007955 + pkgver = 4.5.0.alpha.r54.gab40b02 pkgrel = 1 url = http://www.linphone.org/ arch = x86_64 @@ -2,7 +2,7 @@ pkgname=bctoolbox-git _pkgname=bctoolbox -pkgver=4.5.0.alpha.r46.gb007955 +pkgver=4.5.0.alpha.r54.gab40b02 pkgrel=1 pkgdesc="Utilities library for Belledonne Communications software" arch=('x86_64') @@ -21,17 +21,15 @@ pkgver() { } build() { - mkdir -p build - cd build - cmake -DENABLE_TESTS_COMPONENT=NO \ - -DCMAKE_INSTALL_PREFIX="/usr" \ - -DENABLE_STATIC="NO" \ - -DENABLE_TESTS="YES" \ - -DENABLE_TESTS_COMPONENT="YES" ../"${_pkgname}" - make + cmake -B build "${_pkgname}" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DENABLE_STATIC="NO" \ + -DENABLE_TESTS="YES" \ + -DENABLE_TESTS_COMPONENT="YES" \ + -Wno-dev + make -C build } package() { - cd "${srcdir}/build" - make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C build install } |