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