git-annex: build_style=haskell-stack, and bump to lts-3.5.
This commit is contained in:
parent
2c77f4d4f6
commit
b781b12846
1 changed files with 6 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'git-annex'
|
# Template file for 'git-annex'
|
||||||
pkgname=git-annex
|
pkgname=git-annex
|
||||||
version=5.20150824
|
version=5.20150824
|
||||||
revision=1
|
revision=2
|
||||||
_stackage="lts-3.0"
|
|
||||||
nocross=yes
|
nocross=yes
|
||||||
create_wrksrc=yes
|
build_style=haskell-stack
|
||||||
|
stackage="lts-3.5"
|
||||||
hostmakedepends="ghc stack pkg-config"
|
hostmakedepends="ghc stack pkg-config"
|
||||||
makedepends="gsasl-devel gnutls-devel libxml2-devel rsync curl lsof gnupg2"
|
makedepends="gsasl-devel gnutls-devel libxml2-devel rsync curl lsof gnupg2"
|
||||||
# depends are utilities required by git-annex
|
# depends are utilities required by git-annex
|
||||||
|
@ -14,17 +14,8 @@ maintainer="Evan Deaubl <evan@deaubl.name>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://git-annex.branchable.com"
|
homepage="http://git-annex.branchable.com"
|
||||||
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="45088dd5ff5a63ca38965e60843e42c1b8424b3437b58af68929cf61ef0819e4"
|
checksum=45088dd5ff5a63ca38965e60843e42c1b8424b3437b58af68929cf61ef0819e4
|
||||||
|
|
||||||
do_build() {
|
post_extract() {
|
||||||
export STACK_ROOT=$wrksrc/.stack
|
rm -rf standalone/android/tmp
|
||||||
rm -rf $wrksrc/${pkgname}-${version}/standalone/android/tmp
|
|
||||||
stack init --force --resolver ${_stackage}
|
|
||||||
stack ${makejobs} build
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
export STACK_ROOT=$wrksrc/.stack
|
|
||||||
vmkdir usr/bin
|
|
||||||
stack install --local-bin-path=${DESTDIR}/usr/bin
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue