unoconv: fix dependencies

This commit is contained in:
Đoàn Trần Công Danh 2020-11-26 21:57:51 +07:00
parent 4807723cf3
commit 70b797517c

View file

@ -1,15 +1,21 @@
# Template file for 'unoconv' # Template file for 'unoconv'
pkgname=unoconv pkgname=unoconv
version=0.9.0 version=0.9.0
revision=1 revision=2
archs=noarch depends="python3 libreoffice"
build_style=gnu-makefile checkdepends="python3 libreoffice"
hostmakedepends="asciidoc git"
depends="python"
short_desc="Convert between document formats supported by LibreOffice/OpenOffice" short_desc="Convert between document formats supported by LibreOffice/OpenOffice"
maintainer="Antonio Malcolm <antonio@antoniomalcolm.com>" maintainer="Antonio Malcolm <antonio@antoniomalcolm.com>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="https://github.com/dagwieers/unoconv" homepage="https://github.com/dagwieers/unoconv"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" distfiles="$PYPI_SITE/u/unoconv/unoconv-$version.tar.gz"
checksum=6ca6cf4db7f113a435558261b8335e256fec3346a6323a9c2823b69697700e8e checksum=308ebfd98e67d898834876348b27caf41470cd853fbe2681cc7dacd8fd5e6031
python_version=2 python_version=3
do_check() {
make -C tests python=python
}
do_install() {
make install DESTDIR=$DESTDIR
}