* add unoconv

This commit is contained in:
Alexander Baldeck 2020-08-27 14:07:03 +02:00
parent 3f68d114ce
commit 3de7692732

27
unoconv/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: max.bra <max.bra at alice dot it>
# Contributor: SeeSchloss <seeschloss@seos.fr>
pkgname=unoconv
pkgver=0.9
pkgrel=2
pkgdesc="Libreoffice-based document converter"
url="http://dag.wiee.rs/home-made/unoconv"
depends=(python libreoffice)
makedepends=(asciidoc git)
arch=(any)
license=(GPL2)
_commit=4cf0e54460bf27db8153951a78b3860d4f810fea # tags/0.9
source=("git+https://github.com/dagwieers/unoconv#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}