[arch-commits] Commit in bctoolbox/repos (2 files)

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


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

archrelease: copy trunk to community-staging-x86_64

Added:
  bctoolbox/repos/community-staging-x86_64/
  bctoolbox/repos/community-staging-x86_64/PKGBUILD
    (from rev 536437, bctoolbox/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: bctoolbox/repos/community-staging-x86_64/PKGBUILD (from rev 536437, bctoolbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-12-09 21:03:40 UTC (rev 536438)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=bctoolbox
+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)
+url="https://github.com/BelledonneCommunications/bctoolbox"
+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 build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list