33 lines
1.3 KiB
Bash
33 lines
1.3 KiB
Bash
# Template file for 'git-annex'
|
|
pkgname=git-annex
|
|
version=10.20221103
|
|
revision=1
|
|
build_style=haskell-stack
|
|
makedepends="curl file-devel gnupg gnutls-devel gsasl-devel libxml2-devel
|
|
lsof rsync git ncurses-devel bup borg nocache git-remote-gcrypt"
|
|
# depends are utilities required by git-annex
|
|
depends="git rsync curl lsof gnupg>=2"
|
|
short_desc="Git addon for managing large files"
|
|
maintainer="Evan Deaubl <evan@deaubl.name>"
|
|
license="AGPL-3.0-or-later, MIT, BSD-2-Clause, GPL-3.0-or-later, custom:Expat, custom:MIT-twitter, GPL-2.0-only, custom:icon-license"
|
|
homepage="https://git-annex.branchable.com"
|
|
changelog="https://git.joeyh.name/index.cgi/git-annex.git/plain/CHANGELOG"
|
|
distfiles="https://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=f549c31264d6da3bb544755795e7fc29882ebec45014905bc2ea0ade28398f3b
|
|
nopie_files="/usr/bin/git-annex"
|
|
nocross=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
|
|
|
|
vlicense doc/license/AGPL
|
|
}
|