blob: fe90c1065eb836c00617954e2665ac41d2d1b731 (
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
30
|
# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=imgdiff
pkgver=1.0.2
pkgrel=6
pkgdesc="Fast pixel-by-pixel image difference tool"
url="https://github.com/n7olkachev/imgdiff"
arch="all"
license="MIT"
options="!check" # no test suite
subpackages="$pkgname-doc"
makedepends="go"
source="https://github.com/n7olkachev/imgdiff/archive/v$pkgver/imgdiff-v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -o imgdiff cmd/main.go
}
package() {
install -Dm755 imgdiff -t "$pkgdir"/usr/bin/
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"/
}
sha512sums="
40f2718ce6fbb3d66017b45bd8facda0a843892bb69b4d48a9d0ced7add69eedec8f98d4cf978ea8dc6ebf67850fa83fd04bb9120dbe65808511e03fe62072cb imgdiff-v1.0.2.tar.gz
"
|