summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: abb66c3cea2c322159884f9f60e93dfaa1d8b3b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: tyr0 <thomas.hoernes@gmx.at>
# Contributor: Daniel YC Lin <dlin.tw at gmail>
# Maintainer: Y Paritcher <y.archlinux@paritcher.com>

pkgname=xxdiff
pkgver=5.1
pkgrel=1
pkgdesc="A graphical browser for file and directory differences."
url="https://github.com/blais/xxdiff"
license=('GPL2')
depends=('qt6-base')
makedepends=('flex>=2.5.31' 'bison' 'git' 'python-docutils')
arch=('x86_64' 'i686')
_commit=090aa680265e77812ed8faa75482ec8efdb44913
source=("git+https://github.com/blais/xxdiff.git#commit=$_commit")
md5sums=('SKIP')

build() {
  cd "$pkgname/src"
  make -f Makefile.bootstrap
  make
}

package() {
  cd "$pkgname"
  install -D -m 755 "bin/xxdiff" "$pkgdir/usr/bin/xxdiff"
  install -D -m 644 "src/xxdiff.1" "$pkgdir/usr/share/man/man1/xxdiff.1"
}