22 lines
700 B
Bash
22 lines
700 B
Bash
# Template file for 'darcs'
|
|
pkgname=darcs
|
|
version=2.14.2
|
|
revision=2
|
|
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-or-later"
|
|
homepage="http://darcs.net/"
|
|
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=65d160a43874960dcba114c0b74d9c7b25d098486f515655502f42ff0c22a27e
|
|
nopie_files="/usr/bin/darcs"
|
|
nocross=yes
|
|
|
|
post_install() {
|
|
vinstall contrib/darcs_completion 644 usr/share/bash-completion/completions
|
|
|
|
cd .stack-work/dist/*/*/build/darcs
|
|
vman darcs.1
|
|
}
|