mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
787 B
Bash
28 lines
787 B
Bash
# Contribution from Arch:
|
|
# Maintainer: Daniel Milde <daniel at milde dot cz>
|
|
# Contributor: Danibspi danibspi <at> gmail <dot> com
|
|
|
|
pkgname=bcunit
|
|
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')
|
|
depends=()
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz")
|
|
sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
|
|
|
|
build() {
|
|
cd "$srcdir/bcunit-${pkgver}"
|
|
[ -x configure ] || ./autogen.sh
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/bcunit-${pkgver}"
|
|
make DESTDIR="$pkgdir" install
|
|
mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
|
|
}
|