void-packages/srcpkgs/libstaroffice/template

31 lines
891 B
Bash

# Template file for 'libstaroffice'
pkgname=libstaroffice
version=0.0.7
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel librevenge-devel"
short_desc="Import filter for all StarOffice document"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later, MPL-2.0"
homepage="https://github.com/fosnola/libstaroffice"
distfiles="https://github.com/fosnola/libstaroffice/releases/download/${version}/libstaroffice-${version}.tar.xz"
checksum=f94fb0ad8216f97127bedef163a45886b43c62deac5e5b0f5e628e234220c8db
libstaroffice-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}
libstaroffice-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} librevenge-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.la"
}
}