void-packages/srcpkgs/darcs/template
2018-08-06 12:28:14 +02:00

23 lines
704 B
Bash

# Template file for 'darcs'
pkgname=darcs
version=2.14.1
revision=2
build_style=haskell-stack
stackage="lts-12.0"
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-or-later"
homepage="http://darcs.net/"
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=61ddbc99acaf06df3a114437064e9241e0da467c23d1d3fb520a782eee32cd35
nopie_files="/usr/bin/darcs"
nocross=yes
post_install() {
vinstall contrib/darcs_completion 644 etc/bash_completion.d
cd .stack-work/dist/*/*/build/darcs
vman darcs.1
}