mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
[skip-ci] bcunit: update to 3.0.2
This commit is contained in:
parent
5d03a3f51f
commit
2f50f63783
@ -3,27 +3,25 @@
|
||||
# Contributor: Danibspi danibspi <at> gmail <dot> com
|
||||
|
||||
pkgname=bcunit
|
||||
pkgver=3.0
|
||||
_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
|
||||
pkgver=3.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Lightweight system for writing, administering, and running unit tests in C"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/BelledonneCommunications/bcunit"
|
||||
license=('LGPL2')
|
||||
options=('!libtool')
|
||||
#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=('e255f062249b75bfeb6a1c02943b602709f1f10738144075b036b3231aa4d590')
|
||||
depends=()
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz")
|
||||
sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/bcunit-${_commit}"
|
||||
cd "$srcdir/bcunit-${pkgver}"
|
||||
[ -x configure ] || ./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/bcunit-${_commit}"
|
||||
cd "$srcdir/bcunit-${pkgver}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user