Date: Tuesday, January 5, 2021 @ 05:44:52
  Author: kkeen
Revision: 808347

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: bctoolbox/repos/community-staging-x86_64/PKGBUILD (from rev 808346, 
bctoolbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-05 05:44:52 UTC (rev 808347)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+
+pkgname=bctoolbox
+pkgver=4.4.22
+pkgrel=2
+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 bcunit)
+makedepends=(cmake)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/BelledonneCommunications/bctoolbox/archive/$pkgver.tar.gz";)
+sha256sums=('0ce641c5b0d325813edc1f6ae4adb38f5459ab7d43818eba5bb4b7f6f8b3c1fe')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_STATIC=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to