2015-09-06 17:52:58 +02:00
|
|
|
# Template file for 'git-annex'
|
|
|
|
pkgname=git-annex
|
2016-03-06 08:53:20 +01:00
|
|
|
version=6.20160229
|
2015-11-07 17:32:21 +01:00
|
|
|
revision=1
|
2015-09-06 17:52:58 +02:00
|
|
|
nocross=yes
|
2015-09-14 16:14:30 +02:00
|
|
|
build_style=haskell-stack
|
2016-02-08 13:49:42 +01:00
|
|
|
stackage="lts-5.2"
|
2015-09-06 17:52:58 +02:00
|
|
|
hostmakedepends="ghc stack pkg-config"
|
2016-03-06 08:53:20 +01:00
|
|
|
makedepends="gsasl-devel gnutls-devel libxml2-devel rsync curl lsof gnupg2 file-devel"
|
2015-09-06 17:52:58 +02:00
|
|
|
# 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"
|
2016-03-06 08:53:20 +01:00
|
|
|
checksum=1eac609eeedbf01cf088461577b478a3aa99f7ecefa668214308e3b5509c1506
|
2016-01-12 16:31:01 +01:00
|
|
|
nopie=yes
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
# messes up stack dependency resolution
|
|
|
|
rm -rf standalone/android/tmp
|
|
|
|
}
|
2015-09-15 18:22:49 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
vcopy man/*.1 usr/share/man/man1
|
|
|
|
|
|
|
|
vinstall bash-completion.bash 0644 usr/share/bash-completion/completions git-annex
|
|
|
|
}
|