user/git-annex: removed due to inclusion in aport

This commit is contained in:
Antoine Martin 2022-08-14 15:49:20 -04:00
parent f11d8d20c7
commit 27378f8f74
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 0 additions and 125 deletions

View file

@ -1,114 +0,0 @@
# Maintainer: Antoine "ayakael" Martin <dev@ayakael.net>
pkgname=git-annex
pkgver=8.20211231
pkgrel=0
pkgdesc="Manage files with git, without checking their contents into git"
url="http://git-annex.branchable.com"
arch="x86_64"
license="AGPL-3.0-or-later"
depends="
curl
git
openssh-client
rsync
"
makedepends="
alex
cabal
dbus-dev
file-dev
ghc
gmp-dev
gnutls-dev
happy
libffi-dev
libgsasl-dev
libxml2-dev
ncurses-dev
zlib-dev
"
source="https://git.joeyh.name/index.cgi/git-annex.git/snapshot/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
# Add / remove '-' between "-f" and "FeatureName" to adjust feature build
_feature_flags="
-fAssistant \
-fWebApp \
-fPairing \
-fProduction \
-fTorrentParser \
-fMagicMime \
-fBenchmark \
-f-DebugLocks \
-fDbus \
-fNetworkBSD \
-fGitLfs \
-fHttpClientRestricted \
"
# The man page is always built but, building the rest of the documentation
# requires ikiwiki. If you want to build the documentation add ikiwiki
# to _cabal_flags
_cabal_flags=" --force-reinstalls "
_cabal_makedepends="c2hs cpphs"
_cabal_libdepends="exceptions hslogger async tasty filepath-bytestring split unix-compat"
_localize_home() {
ORIG_HOME="$HOME"
ORIG_TMPDIR="$TMPDIR"
export HOME="$srcdir"/cabal
export TMPDIR="$srcdir"/cabal/tmp
export PATH="$HOME/.cabal/bin:$PATH"
}
_restore_home() {
export HOME="$ORIG_HOME"
export TMPDIR="$ORIG_TMPDIR"
}
prepare() {
default_prepare
_localize_home
mkdir -p "$HOME" "$TMPDIR"
msg "Features: $_feature_flags"
msg "Installing missing cabal dependencies..."
cabal update
cabal install $_cabal_makedepends
cabal install --lib $_cabal_libdepends
cabal install $_cabal_flags --user --only-dependencies $_feature_flags
_restore_home
}
build() {
_localize_home
msg "Configuring..."
cabal configure $_feature_flags
msg "Starting build..."
make
_restore_home
}
check() {
_localize_home
make test
_restore_home
}
package() {
_localize_home
make DESTDIR="$pkgdir" install
_restore_home
}
sha512sums="
cfe5d5dec31b0c9e4f856400b7659cafdb003b3942f7fabc2db9d267d522f8d1ab354a0dd7a63c223575b85b58bac1dce68af4efb15183a6dc63e744a8318f47 git-annex-8.20211231.tar.gz
"

View file

@ -1,11 +0,0 @@
# Description
APKBUILD for git-annex.
# Generates packages
* git-annex (x86_64)
# How to build
* abuild -r
# Known issues
* Docs do not fully generate due to lack of ikwiki dependency