# Template file for 'darcs'
pkgname=darcs
version=2.10.3
revision=1
nocross=yes
build_style=haskell-stack
stackage="lts-5.1"
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=ca00c40d08276f94868c7c1bbc6dbd9b6b41a15c1907c34947aaa51d4dbbf642
nopie=yes

post_install() {
	vinstall contrib/darcs_completion 644 etc/bash_completion.d
}
