# Template file for 'git-annex' pkgname=git-annex version=6.20170519 revision=1 nocross=yes build_style=haskell-stack stackage="lts-8.13" hostmakedepends="pkg-config ghc stack" makedepends="gsasl-devel gnutls-devel libxml2-devel rsync curl lsof gnupg2 file-devel" # depends are utilities required by git-annex depends="git rsync curl lsof gnupg2" short_desc="Git addon for managing large files" maintainer="Evan Deaubl " license="GPL-3" homepage="http://git-annex.branchable.com" distfiles="https://git.joeyh.name/index.cgi/${pkgname}.git/snapshot/${pkgname}-${version}.tar.gz" checksum=3ae5d427a766dab31c25c31adfc14b7e0ec7ff9c7e94a282bf222ea254dc5c66 nopie=yes # These install steps are pulled from the install target in the # git-annex Makefile. The target can't be called directly because it is # comingled with the Cabal build, and we're using Stackage instead # Make sure they are in sync with each version upgrade post_install() { ln -sf git-annex ${DESTDIR}/usr/bin/git-annex-shell ln -sf git-annex ${DESTDIR}/usr/bin/git-remote-tor-annex vmkdir usr/share/man/man1 vcopy man/*.1 usr/share/man/man1 vinstall bash-completion.bash 0644 usr/share/bash-completion/completions git-annex }