# Contributor: Paul Onyschuk # Contributor: Natanael Copa # Maintainer: tcely pkgname=fossil pkgver=2.8 pkgrel=0 pkgdesc="Simple, high-reliability, distributed software configuration management" url="https://www.fossil-scm.org" arch="all" license="BSD-2-Clause" options="!check" # missing tcl modules depends="" # add tcllib when it is packaged checkdepends="coreutils ed" makedepends="openssl-dev sqlite-dev tcl-dev zlib-dev" source="https://www.fossil-scm.org/index.html/uv/$pkgname-src-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --json \ --disable-internal-sqlite make TCC="${CC:-gcc} $CFLAGS" } check() { cd "$builddir" make TESTFLAGS="-quiet -halt" test } package() { cd "$builddir" install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname } sha512sums="5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e fossil-src-2.8.tar.gz"