void-packages/srcpkgs/darcs/template

21 lines
678 B
Bash

# Template file for 'darcs'
pkgname=darcs
version=2.10.2
revision=1
nocross=yes
build_style=haskell-stack
stackage="lts-3.13"
make_build_args="--flag darcs:use-time-1point5"
hostmakedepends="ghc stack"
makedepends="zlib-devel libcurl-devel ncurses-devel"
short_desc="Change-focused cross-platform version control system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://darcs.net/"
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=6337d3fac04711fa2ef5813558b409c59166c5599b0c9d68c418d21cdccfb327
post_install() {
vinstall contrib/darcs_completion 644 etc/bash_completion.d
}