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

Antonio Rojas arojas at archlinux.org
Mon Dec 9 21:03:21 UTC 2019


    Date: Monday, December 9, 2019 @ 21:03:21
  Author: arojas
Revision: 536437

Update to 4.3

Modified:
  bctoolbox/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-09 21:01:43 UTC (rev 536436)
+++ PKGBUILD	2019-12-09 21:03:21 UTC (rev 536437)
@@ -1,25 +1,30 @@
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
 
 pkgname=bctoolbox
-pkgver=0.6.0
-pkgrel=4
+pkgver=4.3
+pkgrel=1
 pkgdesc="A library written in C that allows you to create and run audio and video streams"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bctoolbox"
-license=('GPL')
-depends=('mbedtls')
-makedepends=('bcunit')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz")
-sha256sums=('299dedcf8f1edea79964314504f0d24e97cdf24a289896fc09bc69c38eb9f9be')
+license=(GPL)
+depends=(mbedtls)
+makedepends=(cmake bcunit)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz")
+sha256sums=('9d091364d85b7862eef9de90dd5303ccdd4ea2a3a291dfb04648625a53b02915')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd ${pkgname}-$pkgver
-  [ -x ./configure ] || ./autogen.sh
-  ./configure --prefix=/usr
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd ${pkgname}-$pkgver
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list