New package: hsb2hs-0.3.1
This commit is contained in:
parent
b3daf4a80e
commit
7e37de1ae3
|
@ -0,0 +1,6 @@
|
||||||
|
flags: {}
|
||||||
|
packages:
|
||||||
|
- .
|
||||||
|
extra-deps:
|
||||||
|
- preprocessor-tools-1.0.1
|
||||||
|
resolver: lts-3.0
|
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'hsb2hs'
|
||||||
|
pkgname=hsb2hs
|
||||||
|
version=0.3.1
|
||||||
|
revision=1
|
||||||
|
nocross=yes
|
||||||
|
hostmakedepends="ghc stack"
|
||||||
|
short_desc="Preprocesses a file, adding blobs from files as string literals"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="3-clause-BSD"
|
||||||
|
homepage="https://hackage.haskell.org/package/hsb2hs"
|
||||||
|
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=8ad800820554f273ada083dfce2f463d920fb1ceb053255023a4c883b090f9d8
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
export STACK_ROOT=$wrksrc/.stack
|
||||||
|
cp ${FILESDIR}/stack.yaml .
|
||||||
|
stack ${makejobs} build
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
export STACK_ROOT=$wrksrc/.stack
|
||||||
|
vmkdir usr/bin
|
||||||
|
stack install --local-bin-path=${DESTDIR}/usr/bin
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue