[arch-commits] Commit in bcunit/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Monday, December 9, 2019 @ 21:01:43
  Author: arojas
Revision: 536436

archrelease: copy trunk to community-staging-x86_64

Added:
  bcunit/repos/community-staging-x86_64/PKGBUILD
    (from rev 536435, bcunit/trunk/PKGBUILD)
Deleted:
  bcunit/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 40 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-09 21:01:27 UTC (rev 536435)
+++ PKGBUILD	2019-12-09 21:01:43 UTC (rev 536436)
@@ -1,38 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Daniel Milde <daniel at milde dot cz>
-# Contributor: Danibspi danibspi <at> gmail <dot> com
-
-pkgname=bcunit
-pkgver=3.0.2
-pkgrel=4
-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')
-
-prepare() {
-  mkdir -p build
-
-  cd $pkgname-$pkgver
-  patch -p1 -i ../bcunit-missing-symbol.patch # Fix missing symbols
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DENABLE_DOC=ON \
-    -DENABLE_STATIC=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: bcunit/repos/community-staging-x86_64/PKGBUILD (from rev 536435, bcunit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-09 21:01:43 UTC (rev 536436)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Daniel Milde <daniel at milde dot cz>
+# Contributor: Danibspi danibspi <at> gmail <dot> com
+
+pkgname=bcunit
+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 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
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_DOC=ON \
+    -DENABLE_STATIC=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list