void-packages/srcpkgs/kdiff3/template

22 lines
571 B
Bash

# Template file for 'kdiff3'
pkgname=kdiff3
version=0.9.98
revision=2
build_wrksrc=src-QT4
build_style=qmake
makedepends="qt5-devel"
short_desc="File comparator/merge tool"
maintainer="Ben Sung Hsu <pobetiger+kdiff3@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://kdiff3.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/kdiff3/kdiff3-${version}.tar.gz"
checksum=802c1ababa02b403a5dca15955c01592997116a24909745016931537210fd668
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-host-tools"
fi
pre_install() {
vsed -i 's@usr\/local@usr@g' Makefile
}