void-packages/srcpkgs/darcs/template
2018-04-05 13:50:32 +02:00

22 lines
675 B
Bash

# Template file for 'darcs'
pkgname=darcs
version=2.14.0
revision=1
nocross=yes
build_style=haskell-stack
hostmakedepends="unzip"
makedepends="zlib-devel libcurl-devel ncurses-devel"
short_desc="Change-focused cross-platform version control system"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0"
homepage="http://darcs.net/"
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=19fa0882a1485f03ab0552d6f01d538c2b286c4a38a1fe502e9cf2a78f782803
nopie_files="/usr/bin/darcs"
post_install() {
vinstall contrib/darcs_completion 644 etc/bash_completion.d
cd .stack-work/dist/*/*/build/darcs
vman darcs.1
}