aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hexdiff/APKBUILD
blob: 57f6dabe3b7b0e7e575f024a7b0d881f61e59e53 (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
29
# Contributor: Alex Yam <alex@alexyam.com>
# Maintainer: Alex Yam <alex@alexyam.com>
pkgname=hexdiff
pkgver=0.0.53
pkgrel=1
pkgdesc="ncurses hex editor with diff mode for binary file comparison"
url="http://tboudet.free.fr/hexdiff/"
arch="all"
license="GPL-2.0-or-later"
depends="ncurses-dev"
options="!check" # no test suite
source="$pkgname-$pkgver.tar.gz::http://tboudet.free.fr/hexdiff/hexdiff.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/HexDiff"

build() {
	make
}

package() {
	# broken 'make install'
	install -Dm755 hexdiff -t $pkgdir/usr/bin
	install -Dm644 hexdiff.1 -t $pkgdir/usr/share/man/man1
	install -Dm644 hexdiff.rc -t "$pkgdir"/etc/hexdiff
}

sha512sums="
3860aa286282604c2dc44fbb32329f28761cf16339dfa3c9f537e4fc2ec31742d59d19bc52935de979bb7397c7ee331846e528d3d2efe10e93ddc5d838fd3ce7  hexdiff-0.0.53.tar.gz
"