mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
hsb2hs: build_style=haskell-stack, and bump to lts-3.5.
This commit is contained in:
parent
5093d6b0c1
commit
57d73926e8
2 changed files with 4 additions and 12 deletions
|
@ -3,4 +3,4 @@ packages:
|
||||||
- .
|
- .
|
||||||
extra-deps:
|
extra-deps:
|
||||||
- preprocessor-tools-1.0.1
|
- preprocessor-tools-1.0.1
|
||||||
resolver: lts-3.0
|
resolver: lts-3.5
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'hsb2hs'
|
# Template file for 'hsb2hs'
|
||||||
pkgname=hsb2hs
|
pkgname=hsb2hs
|
||||||
version=0.3.1
|
version=0.3.1
|
||||||
revision=1
|
revision=2
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
build_style=haskell-stack
|
||||||
hostmakedepends="ghc stack"
|
hostmakedepends="ghc stack"
|
||||||
short_desc="Preprocesses a file, adding blobs from files as string literals"
|
short_desc="Preprocesses a file, adding blobs from files as string literals"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
@ -11,15 +12,6 @@ homepage="https://hackage.haskell.org/package/hsb2hs"
|
||||||
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8ad800820554f273ada083dfce2f463d920fb1ceb053255023a4c883b090f9d8
|
checksum=8ad800820554f273ada083dfce2f463d920fb1ceb053255023a4c883b090f9d8
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
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
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue