Date: Monday, December 9, 2019 @ 21:01:27 Author: arojas Revision: 536435
Latest mediastreamer needs an unreleased version Modified: bcunit/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-12-09 20:53:06 UTC (rev 536434) +++ PKGBUILD 2019-12-09 21:01:27 UTC (rev 536435) @@ -3,29 +3,31 @@ # Contributor: Danibspi danibspi <at> gmail <dot> com pkgname=bcunit -pkgver=3.0.2 -pkgrel=4 +pkgver=3.0.2+12+g3c720fb +_commit=3c720fbf67dd3c02b0c7011ed4036982b2c93532 +pkgrel=1 pkgdesc="Lightweight system for writing, administering, and running unit tests in C" arch=(x86_64) url="https://github.com/BelledonneCommunications/bcunit" license=(LGPL) depends=(glibc) -makedepends=(cmake) -source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz" - bcunit-missing-symbol.patch::"https://github.com/BelledonneCommunications/bcunit/commit/2066c388.patch") -sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f' - '21f7fc5e1fda61c89933ef037dbf55e7e4c68e81e706de25e6a047a65a599d92') +makedepends=(cmake git) +#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz") +source=(git+https://gitlab.linphone.org/BC/public/bcunit.git#commit=$_commit) +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + prepare() { mkdir -p build - - cd $pkgname-$pkgver - patch -p1 -i ../bcunit-missing-symbol.patch # Fix missing symbols } build() { cd build - cmake ../$pkgname-$pkgver \ + cmake ../$pkgname \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_DOC=ON \ -DENABLE_STATIC=OFF
