From f732d5983b34e7a557ccc8fe1fe2817f9953dd71 Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 8 Apr 2019 14:40:16 -0400 Subject: community/fossil: move from main --- community/fossil/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/fossil/APKBUILD (limited to 'community/fossil') diff --git a/community/fossil/APKBUILD b/community/fossil/APKBUILD new file mode 100644 index 0000000000..23b997de01 --- /dev/null +++ b/community/fossil/APKBUILD @@ -0,0 +1,40 @@ +# 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" -- cgit v1.2.3