Package Details: git-remote-gcrypt 1.5-1

Git Clone URL: https://aur.archlinux.org/git-remote-gcrypt.git (read-only, click to copy)
Package Base: git-remote-gcrypt
Description: A git remote helper for GPG-encrypted remotes.
Upstream URL: https://spwhitton.name/tech/code/git-remote-gcrypt/
Licenses: GPL
Conflicts: git-remote-gcrypt-git
Submitter: adament
Maintainer: mortzu
Last Packager: mortzu
Votes: 13
Popularity: 0.059055
First Submitted: 2016-07-11 14:06 (UTC)
Last Updated: 2022-12-11 14:58 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

mortzu commented on 2022-10-31 09:05 (UTC)

Please update or orphan

dmp1ce commented on 2022-03-29 21:22 (UTC)

Does anyone have a lead on the gpg: WARNING: "--secret-keyring" is an obsolete option - it has no effect warning? Is git-remote-gcrypt project still being maintained?

myridium commented on 2021-11-22 11:25 (UTC)

Remote repository git.spwhitton.name is inaccessible.

Seems more sensible to use the GitHub: https://github.com/spwhitton/git-remote-gcrypt/releases/tag/

My suggested PKGBUILD (as of today):

# Maintainer: JunYoung Gwak <aur@jgwak.com>
# Contributor: Adam Ehlers Nyholm Thomsen <adament@adament.net>
# Contributor: Sebastian Jug <seb@stianj.ug>

pkgname='git-remote-gcrypt'
pkgver=1.4
pkgrel=1
pkgdesc='A git remote helper for GPG-encrypted remotes.'
url="https://github.com/spwhitton/${pkgname}"
arch=(any)
license=(GPL)
makedepends=(git python-docutils)
depends=(git gnupg bash)
optdepends=('rsync: rsync backend support'
            'curl: sftp backend support'
            'rclone: rclone backend support')
conflicts=(git-remote-gcrypt-git)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('SKIP')
validpgpkeys=('8DC2487E51ABDD90B5C4753F0F56D0553B6D411B')

pkgver() {
    git ls-remote --sort=v:refname --tags "${url}.git" | # Get tags with semantic version sorting, earliest to most recent
    awk '{ print $2 }' | # Extract 'refnames' of tags
    grep -v debian | # Exclude debian-specific packages
    sed -E 's|^refs/tags/(.*)$|\1|' | # Remove 'refs/tags/' prefix from tag names
    grep -v -E '.*\^\{\}$' | # Remove weird tag names ending in "^{}" for some reason.
    tail -1 # Get most recent tag
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    DESTDIR="$pkgdir/" prefix="/usr" ./install.sh
}

Colin_Brosseau commented on 2017-11-07 16:19 (UTC)

Package out of date. For new version: sed -e 's/1.0.1/1.0.2/' -e 's/fbc937300c4b1951a88c67407d659f2577845562eeca5d220e9a187c4631fa64/002994d60d4b3c9a93452d2655bdf3e761c581159431f743d0827127d88f7be2/' PKGBUILD