[skip-ci] bcunit: update to 3.0.2

This commit is contained in:
Jeff Huang 2018-10-25 04:37:10 +02:00
parent 5d03a3f51f
commit 2f50f63783

View File

@ -3,27 +3,25 @@
# Contributor: Danibspi danibspi <at> gmail <dot> com # Contributor: Danibspi danibspi <at> gmail <dot> com
pkgname=bcunit pkgname=bcunit
pkgver=3.0 pkgver=3.0.2
_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
pkgrel=1 pkgrel=1
pkgdesc="Lightweight system for writing, administering, and running unit tests in C" pkgdesc="Lightweight system for writing, administering, and running unit tests in C"
arch=(x86_64) arch=(x86_64)
url="https://github.com/BelledonneCommunications/bcunit" url="https://github.com/BelledonneCommunications/bcunit"
license=('LGPL2') license=('LGPL2')
options=('!libtool') depends=()
#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz")
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip") sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
sha256sums=('e255f062249b75bfeb6a1c02943b602709f1f10738144075b036b3231aa4d590')
build() { build() {
cd "$srcdir/bcunit-${_commit}" cd "$srcdir/bcunit-${pkgver}"
[ -x configure ] || ./autogen.sh [ -x configure ] || ./autogen.sh
./configure --prefix=/usr ./configure --prefix=/usr
make make
} }
package() { package() {
cd "$srcdir/bcunit-${_commit}" cd "$srcdir/bcunit-${pkgver}"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
} }