New package: darcs-2.10.1
This commit is contained in:
parent
f93d9fcce1
commit
f095c0c9e3
2 changed files with 33 additions and 0 deletions
7
srcpkgs/darcs/files/stack.yaml
Normal file
7
srcpkgs/darcs/files/stack.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
flags: {}
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps:
|
||||
- dataenc-0.12
|
||||
- regex-compat-tdfa-0.95.1.4
|
||||
resolver: lts-3.0
|
26
srcpkgs/darcs/template
Normal file
26
srcpkgs/darcs/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'darcs'
|
||||
pkgname=darcs
|
||||
version=2.10.1
|
||||
revision=1
|
||||
nocross=yes
|
||||
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=f1ef65b43780e7593ca1afdae5ecf44ed91d62cc1be360693a52c5ff7b57ee94
|
||||
|
||||
do_build() {
|
||||
export STACK_ROOT=$wrksrc/.stack
|
||||
cp ${FILESDIR}/stack.yaml .
|
||||
stack ${makejobs} build --flag darcs:use-time-1point5
|
||||
}
|
||||
|
||||
do_install() {
|
||||
export STACK_ROOT=$wrksrc/.stack
|
||||
vmkdir usr/bin
|
||||
stack install --flag darcs:use-time-1point5 --local-bin-path=${DESTDIR}/usr/bin
|
||||
vinstall contrib/darcs_completion 644 etc/bash_completion.d
|
||||
}
|
Loading…
Add table
Reference in a new issue