mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=fossil
|
|
pkgver=2.21
|
|
pkgrel=0
|
|
pkgdesc="Simple, high-reliability, distributed software configuration management"
|
|
url="https://www.fossil-scm.org"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="openssl-dev>3 tcl-dev zlib-dev"
|
|
checkdepends="coreutils ed tcl-lib"
|
|
subpackages="$pkgname-bash-completion $pkgname-zsh-completion"
|
|
source="https://www.fossil-scm.org/home/tarball/version-$pkgver/fossil-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--json \
|
|
--with-th1-docs \
|
|
--with-th1-hooks \
|
|
--with-tcl=1 \
|
|
--with-tcl-private-stubs
|
|
make TCC="${CC:-gcc} $CFLAGS"
|
|
}
|
|
|
|
check() {
|
|
export USER="${USER:-$(id -un)}"
|
|
make TESTFLAGS="-verbose" test
|
|
}
|
|
|
|
package() {
|
|
install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
# add shell completions
|
|
install -Dm644 tools/fossil-autocomplete.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/fossil
|
|
install -Dm644 tools/fossil-autocomplete.zsh \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_fossil
|
|
}
|
|
|
|
sha512sums="
|
|
be1bffe9a9ab218ac3cfa19d969d600ea1886ac00793ea25e5c8552fb425cc83785c6aba08d4782e5d79e3934aca2c4cb322c5d8c045e8d40ba8ee08006a3281 fossil-2.21.tar.gz
|
|
"
|