Package Details: delta 20060803-3

Git Clone URL: https://aur.archlinux.org/delta.git (read-only, click to copy)
Package Base: delta
Description: An useful tool that lets you minimize interesting files subject to a test of their interestingness.
Upstream URL: http://delta.tigris.org/
Licenses: BSD
Submitter: None
Maintainer: tavianator
Last Packager: tavianator
Votes: 4
Popularity: 0.000003
First Submitted: 2011-11-02 14:14
Last Updated: 2020-12-31 17:25

Latest Comments

joehillen commented on 2021-06-23 18:13

I thought this was the new diff replacement I was hearing about, but it turns out I want: git-delta-bin

Volker_Weissmann commented on 2020-12-29 12:40

Use this as a PKGBUILD:

# Maintainer: Merkil <merkil@savhon.org>

pkgname=delta
pkgver=20060803
pkgrel=2
dapkgver=2006.08.03
license=('BSD')
url="https://github.com/mpflanzer"
pkgdesc="An useful tool that lets you minimize interesting files subject to a test of their interestingness."
arch=(i686 x86_64)
depends=('perl')
makedepends=('make' 'gcc' 'flex' 'curl')
source=("git+https://github.com/mpflanzer/delta.git#branch=master")
sha1sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}/"
  make clean
  make || return 1
  make check || return 1
}

package() {
  cd "${srcdir}/${pkgname}/"
  install -Dm 755 ./topformflat "${pkgdir}/usr/bin/topformflat"
  install -Dm 755 ./delta "${pkgdir}/usr/bin/delta"
  install -Dm 755 ./multidelta "${pkgdir}/usr/bin/multidelta"
  install -Dm 644 ./License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
}

tavianator commented on 2016-05-16 13:39

@sebo: Pushed an update that sets DLAGENTS like you suggested (using curl though). Thanks!

sebo commented on 2016-05-14 21:22

I don't know if there are any adverse affects from this, but adding wget as a dependency and adding a DLAGENTS variable to the PKGBUILD will resolve the redirect loop issue for all users I believe.

patch: https://da.gd/AXhhn

sebo commented on 2016-05-08 16:35

Nevermind, found another workaround.

Inserting
'http::/usr/bin/wget -O %o %u'
at the top of DLAGENTS resolved the issue for me.

sebo commented on 2016-05-08 16:29

I got into a redirect loop I think.
Putting
'http::http::/usr/bin/curl -qb - --retry 3 --retry-delay 3 -o %o %u'
in DLAGENTS did not resolve the issue.
Because I then get complaints about curl not being installed for some reason.

What exactly does your DLAGENTS look like?

tavianator commented on 2015-05-17 15:19

If you get a redirect loop, make sure /etc/makepkg.conf has 'http::http::/usr/bin/curl -qb "" ...' in DLAGENTS.