mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
46 lines
1.3 KiB
Text
46 lines
1.3 KiB
Text
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=fossil
|
|
pkgver=2.20
|
|
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="
|
|
9a8ef9ebdd4757b028ef86702025d79f99ccf671824d98eb6f426a3d74cd424e450c33e9380d0cfebeb45d946f5590184d9a2ebfb0aa33561089d9424f19cd7e fossil-2.20.tar.gz
|
|
"
|