New package: libstaroffice-0.0.7

This commit is contained in:
Đoàn Trần Công Danh 2024-07-01 18:42:06 +07:00
parent 5d9d09ef66
commit 81924ecf7e
4 changed files with 33 additions and 0 deletions

View File

@ -4517,3 +4517,4 @@ libKPim6MimeTreeParserCore.so.6 mimetreeparser-24.02.0_1
libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
/usr/lib/lua/5.1/lpeg.so lua51-lpeg-1.1.0_2
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1

1
srcpkgs/libstaroffice-devel Symbolic link
View File

@ -0,0 +1 @@
libstaroffice

1
srcpkgs/libstaroffice-tools Symbolic link
View File

@ -0,0 +1 @@
libstaroffice

View File

@ -0,0 +1,30 @@
# 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"
}
}