[arch-commits] Commit in bctoolbox/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jun 24 20:30:35 UTC 2020


    Date: Wednesday, June 24, 2020 @ 20:30:34
  Author: arojas
Revision: 652465

Update to 4.4.0

Modified:
  bctoolbox/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-24 20:29:57 UTC (rev 652464)
+++ PKGBUILD	2020-06-24 20:30:34 UTC (rev 652465)
@@ -2,30 +2,24 @@
 # Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
 
 pkgname=bctoolbox
-pkgver=4.3.1
+pkgver=4.4.0
 pkgrel=1
 pkgdesc="A library written in C that allows you to create and run audio and video streams"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bctoolbox"
 license=(GPL)
-depends=(gcc-libs mbedtls bcunit)
+depends=(mbedtls bcunit)
 makedepends=(cmake)
 source=($pkgname-$pkgver.tar.gz::"https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz")
-sha256sums=('d8501e3793c10abbf913759d7a0e5f6eb3140af6bacf5e2bdcd532049bde69c0')
+sha256sums=('fe64efb05de1bbd207e4abe5560ea44f5242eaf0911163b3b8fc0bec07488bb5')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DENABLE_STATIC=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list