Reverts commit 0c0780273c.

Tarball from distribution don't have Makefile.
This commit is contained in:
Damien 2018-10-22 23:20:59 +02:00
parent e1cc3ac777
commit b9d567a22a

View file

@ -17,10 +17,10 @@ build() {
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Tests depend of Mercurial sources
if [[ -n "$HGSRC" ]]; then
make tests HGROOT="${HGSRC}" PYTHON=python2
cd "${srcdir}/${pkgname}-${pkgver}/tests"
python2 "${HGSRC}/tests/run-tests.py"
fi
}