# Contributor: Paul Onyschuk # Maintainer: Natanael Copa pkgname=fossil pkgver=2.7 pkgrel=0 pkgdesc="Simple, high-reliability, distributed software configuration management" url="http://www.fossil-scm.org" arch="all" license="BSD" depends="" 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" } # The tests don't have all the dependencies they want # Even with these dependencies, roughly a dozen of them # are broken anyway. # # ***** Final results: 11 errors out of 34909 tests # ***** Considered failures: pre-commit-warnings-fossil-1 # test-framework-json test-framework-set-manifest th1-checkout-1 # th1-checkout-2 th1-header-2 th1-artifact-3 th1-artifact-7 # th1-globalState-1 th1-globalState-8 th1-encode64-3 # ***** Ignored results: 5 ignored errors out of 34909 tests # ***** Ignored failures: merge5-sqlite3-issue stash-1-diff # stash-WY-1-CODE stash-3-2 stash-3-2-show-1 # check() { return 0 cd "$builddir" make test } package() { cd "$builddir" install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname } sha512sums="c1f52209bf14cb1b0a134b03fd02926c123bfd38d9b0d45f39d3137f3df2be13371f38611dc66d1d7df71d95c79baf26e66ccb845c769a57b9568629cdd52672 fossil-src-2.7.tar.gz"