* update unoconv to 0.9.0-1

This commit is contained in:
Alexander Baldeck 2025-02-12 07:49:08 +01:00
parent 7ca161fbf5
commit 3fb9302660
2 changed files with 44 additions and 21 deletions

View File

@ -1,16 +1,20 @@
pkgbase = unoconv
pkgdesc = Libreoffice-based document converter
pkgver = 0.9
pkgrel = 3
url = http://dag.wiee.rs/home-made/unoconv
pkgver = 0.9.0
pkgrel = 1
url = https://github.com/unoconv/unoconv
arch = any
license = GPL2
license = GPL-2.0-only
makedepends = asciidoc
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = xmlto
depends = libreoffice
depends = python
depends = python-setuptools
depends = libreoffice
source = git+https://github.com/dagwieers/unoconv#commit=4cf0e54460bf27db8153951a78b3860d4f810fea
sha256sums = SKIP
source = git+https://github.com/unoconv/unoconv#tag=0.9.0
b2sums = 02251042d3e7e79f50f6bb8b22178a070afb2e6c81b5e9d6f9553e2ff505b3b124c891cd227238703f550e4f321af89de069725ab73bd643fe6c5e6c9cad5948
pkgname = unoconv

View File

@ -4,24 +4,43 @@
# Contributor: SeeSchloss <seeschloss@seos.fr>
pkgname=unoconv
pkgver=0.9
pkgrel=3.1
pkgver=0.9.0
pkgrel=1
pkgdesc="Libreoffice-based document converter"
url="http://dag.wiee.rs/home-made/unoconv"
depends=(python python-setuptools libreoffice)
makedepends=(asciidoc git)
url="https://github.com/unoconv/unoconv"
license=(GPL-2.0-only)
depends=(
libreoffice
python
python-setuptools
)
makedepends=(
asciidoc
git
python-build
python-installer
python-wheel
xmlto
)
arch=(any)
license=(GPL2)
_commit=4cf0e54460bf27db8153951a78b3860d4f810fea # tags/0.9
source=("git+https://github.com/dagwieers/unoconv#commit=$_commit")
sha256sums=('SKIP')
source=("git+$url#tag=$pkgver")
b2sums=('02251042d3e7e79f50f6bb8b22178a070afb2e6c81b5e9d6f9553e2ff505b3b124c891cd227238703f550e4f321af89de069725ab73bd643fe6c5e6c9cad5948')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
prepare() {
cd unoconv
rm doc/unoconv.1 # rebuild
}
build() {
cd unoconv
python -m build --wheel --no-isolation
make -C doc man
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
cd unoconv
python -m installer --destdir="$pkgdir" dist/*.whl
make -C doc install DESTDIR="$pkgdir"
}
# vim:set sw=2 sts=-1 et: