diff --git a/common/shlibs b/common/shlibs index 6f864b0d2b7..e680ecdfe94 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libstaroffice-devel b/srcpkgs/libstaroffice-devel new file mode 120000 index 00000000000..976397f6686 --- /dev/null +++ b/srcpkgs/libstaroffice-devel @@ -0,0 +1 @@ +libstaroffice \ No newline at end of file diff --git a/srcpkgs/libstaroffice-tools b/srcpkgs/libstaroffice-tools new file mode 120000 index 00000000000..976397f6686 --- /dev/null +++ b/srcpkgs/libstaroffice-tools @@ -0,0 +1 @@ +libstaroffice \ No newline at end of file diff --git a/srcpkgs/libstaroffice/template b/srcpkgs/libstaroffice/template new file mode 100644 index 00000000000..894d007e907 --- /dev/null +++ b/srcpkgs/libstaroffice/template @@ -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 " +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" + } +}