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
1 changed files with 14 additions and 8 deletions

View File

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