New package: git-annex-5.20150824

This commit is contained in:
Evan Deaubl 2015-09-06 08:52:58 -07:00
parent e3f5b976d0
commit 1516b75b36
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Template file for 'git-annex'
pkgname=git-annex
version=5.20150824
revision=1
_stackage="lts-3.0"
nocross=yes
create_wrksrc=yes
hostmakedepends="ghc stack pkg-config"
makedepends="gsasl-devel gnutls-devel libxml2-devel rsync curl lsof gnupg2"
# depends are utilities required by git-annex
depends="git rsync curl lsof gnupg2"
short_desc="Git addon for managing large files"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="GPL-3"
homepage="http://git-annex.branchable.com"
distfiles="http://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum="45088dd5ff5a63ca38965e60843e42c1b8424b3437b58af68929cf61ef0819e4"
do_build() {
export STACK_ROOT=$wrksrc/.stack
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
}

2
srcpkgs/git-annex/update Normal file
View file

@ -0,0 +1,2 @@
site='http://hackage.haskell.org/package/git-annex'
pattern='Readme for git-annex-\K[\d.]+(?=</h2>)'