# Contributor: Paul Onyschuk # Maintainer: Natanael Copa pkgname=fossil pkgver=2.0 pkgrel=0 pkgdesc="Simple, high-reliability, distributed software configuration management" url="http://www.fossil-scm.org" arch="all" license="BSD" depends="" makedepends="libressl-dev zlib-dev sqlite-dev" source="http://www.fossil-scm.org/index.html/uv/download/$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 \ || return 1 make TCC="${CC:-gcc} $CFLAGS" || return 1 } package() { cd "$builddir" install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1 } sha512sums="eef22600d293f5945f2d04daecf1308246b428fe6f6da6941b92a4f369c73c984f4d1458a462baa157267c701f9581fd7dedc9a59ee614784d786f95d92c9545 fossil-src-2.0.tar.gz"